summaryrefslogtreecommitdiff
path: root/yank.lua
diff options
context:
space:
mode:
Diffstat (limited to 'yank.lua')
-rw-r--r--yank.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/yank.lua b/yank.lua
new file mode 100644
index 0000000..ea6786d
--- /dev/null
+++ b/yank.lua
@@ -0,0 +1,10 @@
+{
+ "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,
+}