Change copy file shortcut to not use yank in command mode as that requiers you to confirm a dialogue

This commit is contained in:
Martin Larsson 2024-01-23 00:38:45 +01:00
parent 6535fc31eb
commit 26f117b05e

View file

@ -31,7 +31,7 @@ require("utils").add_keymaps({
-- Copies the entire file
["<C-c>"] = {
cmd = "<cmd> %y+ <CR>",
cmd = "ggyG <C-o><C-o>",
},
-- Allow moving the cursor through wrapped lines with <Up> and <Down>