Remove keybind for saving, use :w instead. Fix so copy command is silent
This commit is contained in:
parent
88ac5cb9f0
commit
557826f23a
1 changed files with 4 additions and 6 deletions
|
|
@ -42,14 +42,12 @@ require("utils").add_keymaps({
|
||||||
cmd = "<cmd> noh <CR>",
|
cmd = "<cmd> noh <CR>",
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Save
|
|
||||||
["<C-s>"] = {
|
|
||||||
cmd = "<cmd> w <CR>",
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Copies the entire file
|
-- Copies the entire file
|
||||||
["<C-c>"] = {
|
["<C-c>"] = {
|
||||||
cmd = ":silent %y+<CR>",
|
cmd = ":%y+<CR>",
|
||||||
|
opts = {
|
||||||
|
silent = true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Allow moving the cursor through wrapped lines with <Up> and <Down>
|
-- Allow moving the cursor through wrapped lines with <Up> and <Down>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue