From 866986c46cddd2c08a84fe73802219b04daa900b Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Tue, 19 Oct 2021 22:21:53 -0700 Subject: [PATCH] nvim: settings organization --- .config/nvim/lua/blake/settings.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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)