nvim: keymap: alt h now works in insert mode too

This commit is contained in:
PowerUser64 2021-11-27 13:30:01 -08:00
parent c8c6dec89f
commit 1f24a4e37f

View file

@ -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>'