diff --git a/nvim-init.vim b/nvim-init.vim index 3c2dc46..460acf1 100644 --- a/nvim-init.vim +++ b/nvim-init.vim @@ -62,10 +62,15 @@ set noexpandtab " tab key puts tabs " trailing whitespace looks like \cdot set list listchars=tab:¦\ ,trail:· " show indentation lines for tabs, trailing whitespace looks like \cdot -" Misc {{{2 +" Folds {{{2 set foldlevelstart=3 " Not too much folding +nnoremap @=(foldlevel('.')?'za':"\") +vnoremap zf + +" Misc {{{2 + " Escape from NeoVim terminals tnoremap " Just hit the [à0] button on an AZERTY, no need to do shift+à to for 0