Added no xclipboard option for nvim
This commit is contained in:
parent
c36360ba8a
commit
7c7698b66a
16
nvim/lua/enrique/plugins/osc52.lua
Normal file
16
nvim/lua/enrique/plugins/osc52.lua
Normal file
@ -0,0 +1,16 @@
|
||||
return {
|
||||
"ojroques/nvim-osc52",
|
||||
config = function()
|
||||
require('osc52').setup {
|
||||
max_length = 0, -- Maximum length of selection (0 for no limit)
|
||||
silent = false, -- Show message when copied
|
||||
trim = false, -- Trim surrounding whitespaces before copy
|
||||
}
|
||||
|
||||
-- Key mappings
|
||||
vim.keymap.set('n', '<leader>y', require('osc52').copy_operator, {expr = true})
|
||||
vim.keymap.set('n', '<leader>yy', '<leader>y_', {remap = true})
|
||||
vim.keymap.set('v', '<leader>y', require('osc52').copy_visual)
|
||||
end,
|
||||
}
|
||||
|
||||
@ -35,3 +35,4 @@ return {
|
||||
telescope.load_extension("fzf")
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
@ -56,12 +56,12 @@ disabled = false
|
||||
# ❯
|
||||
#
|
||||
[character]
|
||||
# success_symbol = "[ ](bold )[ ](bold green)"
|
||||
# error_symbol = "[ ](bold)[ ](bold red)"
|
||||
# vimcmd_symbol = "[ ](bold)[ ](bold green)"
|
||||
success_symbol = "[ ](bold )[ ](bold green)"
|
||||
error_symbol = "[ ](bold)[ ](bold red)"
|
||||
vimcmd_symbol = "[ ](bold)[ ](bold green)"
|
||||
success_symbol = "[ ](bold )[ ](bold green)"
|
||||
error_symbol = "[ ](bold)[ ](bold red)"
|
||||
vimcmd_symbol = "[ ](bold)[ ](bold green)"
|
||||
# success_symbol = "[ ](bold )[ ](bold green)"
|
||||
# error_symbol = "[ ](bold)[ ](bold red)"
|
||||
# vimcmd_symbol = "[ ](bold)[ ](bold green)"
|
||||
|
||||
[git_commit]
|
||||
tag_symbol = " tag "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user