Update .config/nvim/lazy-lock.json
Update .config/nvim/lua/plugin/00_colorscheme.lua Update .config/nvim/lua/plugin/10_hop.lua Update .config/nvim/lua/plugin/20_completion.lua Add .config/nvim/lua/plugin/35_yanky.lua
This commit is contained in:
parent
d463a7b8c9
commit
48524be17d
5 changed files with 77 additions and 25 deletions
21
private_dot_config/nvim/lua/plugin/35_yanky.lua
Normal file
21
private_dot_config/nvim/lua/plugin/35_yanky.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
return {
|
||||
{
|
||||
"gbprod/yanky.nvim",
|
||||
keys = {
|
||||
{ "y", "<Plug>(YankyYank)" },
|
||||
{ "p", "<Plug>(YankyPutAfter)", mode = { "n", "x" } },
|
||||
{ "P", "<Plug>(YankyPutBefore)", mode = { "n", "x" } },
|
||||
{ "[p", "<Plug>(YankyPutIndentBeforeLinewise)", mode = "n" },
|
||||
{ "]p", "<Plug>(YankyPutIndentAfterLinewise)", mode = "n" },
|
||||
{ ">p", "<Plug>(YankyPutIndentAfterShiftRight)", mode = "n" },
|
||||
{ ">P", "<Plug>(YankyPutIndentBeforeShiftRight)", mode = "n" },
|
||||
{ "<p", "<Plug>(YankyPutIndentAfterShiftLeft)", mode = "n" },
|
||||
{ "<P", "<Plug>(YankyPutIndentBeforeShiftLeft)", mode = "n" },
|
||||
{ "<c-p>", "<Plug>(YankyPreviousEntry)", mode = "n" },
|
||||
{ "<c-n>", "<Plug>(YankyNextEntry)", mode = "n" },
|
||||
},
|
||||
opts = {
|
||||
preserve_cursor_position = { enabled = true },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue