nvim: keymappings: Disable macro recording
This commit is contained in:
parent
01dddffa53
commit
d4edc15bd2
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ local opts = { noremap=true, unique=true }
|
||||||
|
|
||||||
remap('c', '<Esc>', '<C-C>', opts)
|
remap('c', '<Esc>', '<C-C>', opts)
|
||||||
remap('n', '<Esc>', '<Esc>:noh<CR>', opts)
|
remap('n', '<Esc>', '<Esc>:noh<CR>', opts)
|
||||||
|
-- Disable recording
|
||||||
|
remap('n', 'q', '<Nop>', { noremap = false })
|
||||||
-- Use Q to execute default register.
|
-- Use Q to execute default register.
|
||||||
remap('n', 'Q', '<Nop>', opts)
|
remap('n', 'Q', '<Nop>', opts)
|
||||||
-- Copy to clipboard
|
-- Copy to clipboard
|
||||||
|
|
Loading…
Reference in a new issue