]> Untitled Git - vimfiles.git/commitdiff
misc settings
authorPhilippe Hürlimann <p@hurlimann.org>
Tue, 8 Mar 2022 15:46:51 +0000 (16:46 +0100)
committerPhilippe Hürlimann <p@hurlimann.org>
Tue, 8 Mar 2022 15:46:51 +0000 (16:46 +0100)
Don't need colorcol
hlsearch is on by default anyway
better folding method

init.vim

index 0d49729416e0a59723d0eadbebe4d9d812cd2c3a..ebea9074bf77238113de36689561d9604fb5d8d2 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -123,7 +123,9 @@ set softtabstop=4
 set nobackup
 set nofixendofline
 
-set hlsearch
+set foldmethod=syntax
+set foldnestmax=10
+set foldlevel=9
 
 nnoremap <C-S-N> :NERDTreeToggle<CR>
 
@@ -137,9 +139,6 @@ nmap ga <Plug>(EasyAlign)
 command Vr tabedit ~/.config/nvim/init.vim
 command Vt execute "tabedit ~/.config/nvim/ftplugin/" . &filetype . ".vim"
 
-set colorcolumn=80
-highlight ColorColumn ctermbg=red
-
 let g:ctrlp_custom_ignore = 'node_modules\|git'
 let g:ctrlp_working_path_mode = 0