nvim: keymappings: Drop mapping to save
We have a keyboard macro to do this.
This commit is contained in:
parent
331885ea25
commit
8a43a1c14f
1 changed files with 0 additions and 2 deletions
|
@ -5,8 +5,6 @@ local opts = { noremap=true, silent=true, unique=true }
|
||||||
remap('c', '<Esc>', '<C-C>', opts)
|
remap('c', '<Esc>', '<C-C>', opts)
|
||||||
-- Use Q to execute default register.
|
-- Use Q to execute default register.
|
||||||
remap('n', 'Q', '<Nop>', opts)
|
remap('n', 'Q', '<Nop>', opts)
|
||||||
-- Save
|
|
||||||
remap('n', '<Leader>w', '<Esc>:w<CR>', opts)
|
|
||||||
-- Copy to clipboard
|
-- Copy to clipboard
|
||||||
remap('v', '<Leader>y', '"+y' , opts)
|
remap('v', '<Leader>y', '"+y' , opts)
|
||||||
remap('v', '<Leader>Y', '"*y' , opts)
|
remap('v', '<Leader>Y', '"*y' , opts)
|
||||||
|
|
Loading…
Reference in a new issue