diff options
Diffstat (limited to '.config/nvim/lua/plugins/yank.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/yank.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/yank.lua b/.config/nvim/lua/plugins/yank.lua new file mode 100644 index 0000000..cdf0f15 --- /dev/null +++ b/.config/nvim/lua/plugins/yank.lua @@ -0,0 +1,10 @@ +return { + "svban/YankAssassin.nvim", + event = "VeryLazy", + config = function() + require("YankAssassin").setup { + auto_normal = true, -- if true, autocmds are used. Whenever y is used in normal mode, the cursor doesn't move to start + auto_visual = true, -- if true, autocmds are used. Whenever y is used in visual mode, the cursor doesn't move to start + } + end, +} |
