nvim: keymap: alt h now works in insert mode too
This commit is contained in:
parent
c8c6dec89f
commit
1f24a4e37f
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ vim.cmd 'command! MakeTags !ctags -R .'
|
|||
|
||||
-- Press Alt h to toggle highlighting on/off, and show current value.
|
||||
vim.cmd 'nnoremap <M-h> <cmd>noh<CR>'
|
||||
vim.cmd 'inoremap <M-h> <cmd>noh<CR>'
|
||||
|
||||
-- Toggle spell check with alt S
|
||||
vim.cmd 'nnoremap <M-S> <cmd>set spell! spell?<CR>'
|
||||
|
|
Loading…
Add table
Reference in a new issue