From 1f24a4e37f8747cc2f93267e17e383c6692f5fae Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sat, 27 Nov 2021 13:30:01 -0800 Subject: [PATCH] nvim: keymap: alt h now works in insert mode too --- .config/nvim/lua/blake/settings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 950b0ee..c124728 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -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 noh' +vim.cmd 'inoremap noh' -- Toggle spell check with alt S vim.cmd 'nnoremap set spell! spell?'