summaryrefslogtreecommitdiff
path: root/yank.lua
diff options
context:
space:
mode:
authorJack Jamison <53350163+JackJ30@users.noreply.github.com>2025-06-28 15:58:03 -0400
committerJack Jamison <53350163+JackJ30@users.noreply.github.com>2025-06-28 15:58:03 -0400
commit45752a25f482d327a63771b25d18ac1a50d211fb (patch)
tree7a03728c4f9eb35c95aeba9a7df621e35c74c38b /yank.lua
parent9680026ffae14545c0cbae469678361afcea75c4 (diff)
yank assassin
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,
+}