Revert "nvim: keymappings: Do not use 'jk' for Esc anymore"
This reverts commit 915a5427e3
.
This commit is contained in:
parent
765eec81b6
commit
c8b64ae94f
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
local remap = vim.api.nvim_set_keymap
|
||||
|
||||
-- Remap escape keys to something usable on home row
|
||||
remap('i', 'jk', '<Esc>', { noremap = true })
|
||||
remap('c', 'jk', '<C-C>', { noremap = true })
|
||||
remap('i', '<Esc>', '<Nop>', { noremap = true })
|
||||
remap('c', '<Esc>', '<Nop>', { noremap = true })
|
||||
-- Use Q to execute default register.
|
||||
remap('n', 'Q', '<Nop>', { noremap = true })
|
||||
-- Save
|
||||
|
|
Loading…
Reference in a new issue