nvim: keymappings: Drop mapping to save

We have a keyboard macro to do this.
This commit is contained in:
Sanchayan Maity 2021-10-02 12:56:06 +05:30
parent 331885ea25
commit 8a43a1c14f
1 changed files with 0 additions and 2 deletions

View File

@ -5,8 +5,6 @@ local opts = { noremap=true, silent=true, unique=true }
remap('c', '<Esc>', '<C-C>', opts)
-- Use Q to execute default register.
remap('n', 'Q', '<Nop>', opts)
-- Save
remap('n', '<Leader>w', '<Esc>:w<CR>', opts)
-- Copy to clipboard
remap('v', '<Leader>y', '"+y' , opts)
remap('v', '<Leader>Y', '"*y' , opts)