diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index d8c72e4..3fabf2f 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -76,14 +76,16 @@ vim.cmd [[ " Press Alt h to toggle highlighting on/off, and show current value. noremap set hlsearch! hlsearch? + + " Toggle spell check with alt S noremap set spell! spell? + " find + replace with alt S + nnoremap %s//g + " Escape to enter normal mode in the terminal tnoremap - " Replace with alt S - nnoremap :%s//g - nnoremap = :exe "resize " . (winheight(0) * 3/2) nnoremap + :exe "resize " . (winheight(0) * 3/2) nnoremap - :exe "resize " . (winheight(0) * 2/3)