aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c853d11..fe99a85 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -128,6 +128,7 @@ nmap <C-q> :BD<CR>
nmap <C-j> :bn<CR>
nmap <C-k> :bp<CR>
nmap <Leader>S :nohlsearch<CR>
+nmap <Leader>z :setlocal foldmethod=syntax<CR>
nnoremap S :%s//g<Left><Left>
" Fix dumb deletion register