From 26f117b05e75d8256f01b98175023c7329c69ff6 Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Tue, 23 Jan 2024 00:38:45 +0100 Subject: [PATCH] Change copy file shortcut to not use yank in command mode as that requiers you to confirm a dialogue --- nvim/lua/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua index 9daf520..01e4b6a 100644 --- a/nvim/lua/keymaps.lua +++ b/nvim/lua/keymaps.lua @@ -31,7 +31,7 @@ require("utils").add_keymaps({ -- Copies the entire file [""] = { - cmd = " %y+ ", + cmd = "ggyG ", }, -- Allow moving the cursor through wrapped lines with and