all repos — dotfiles @ 53f5067038134c158331e72a21210aca946af063

linux dotfiles

update vimrc
prithugoswami prithugoswami524@gmail.com
Tue, 29 May 2018 23:14:20 +0530
commit

53f5067038134c158331e72a21210aca946af063

parent

05135733848d98763cc4f72ca559a56c338ad493

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M .vimrc.vimrc

@@ -40,7 +40,12 @@ set foldlevelstart=10 " open most folds by default

set foldnestmax=10 " 10 nested folds max set foldmethod=indent " fold based on indent +" <Space> is foldToggle (za) in normal mode +nnoremap <silent> <Tab> @=(foldlevel('.')?'za':"\<Space>")<CR> +" Preserve folds +autocmd BufWinLeave * mkview +autocmd BufWinEnter * silent loadview set number " number line