Remove keybind for saving, use :w instead. Fix so copy command is silent

This commit is contained in:
Martin Larsson 2025-01-11 00:54:54 +01:00
parent 88ac5cb9f0
commit 557826f23a

View file

@ -42,14 +42,12 @@ require("utils").add_keymaps({
cmd = "<cmd> noh <CR>",
},
-- Save
["<C-s>"] = {
cmd = "<cmd> w <CR>",
},
-- Copies the entire file
["<C-c>"] = {
cmd = ":silent %y+<CR>",
cmd = ":%y+<CR>",
opts = {
silent = true
}
},
-- Allow moving the cursor through wrapped lines with <Up> and <Down>