Xinqi Bao's Git
projects
/
dotfiles.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
updated coc config, suggest.noselect=true
[dotfiles.git]
/
.config
/
nvim
/
init.vim
diff --git
a/.config/nvim/init.vim
b/.config/nvim/init.vim
index
927f94b
..
76502a2
100644
(file)
--- a/
.config/nvim/init.vim
+++ b/
.config/nvim/init.vim
@@
-250,6
+250,9
@@
nnoremap <silent> <Leader>- :resize -5<CR>
nnoremap <silent> <Leader>v+ :vertical resize +5<CR>
nnoremap <silent> <Leader>v- :vertical resize -5<CR>
nnoremap <silent> <Leader>v+ :vertical resize +5<CR>
nnoremap <silent> <Leader>v- :vertical resize -5<CR>
+" shortcut for folding
+nnoremap <silent> <Leader>fi :set foldmethod=indent<CR>
+nnoremap <silent> <Leader>fd :set foldmethod=manual<CR>ggVGzD
"HighLight trailing whitespace"
highlight ExtraWhitespace ctermbg=red guibg=red
"HighLight trailing whitespace"
highlight ExtraWhitespace ctermbg=red guibg=red