autocmds for persistent folds
This commit is contained in:
parent
156b8ceaa1
commit
6d122971d5
7
vimrc
7
vimrc
|
@ -285,6 +285,13 @@ nnoremap <F2> :set invpaste paste?<CR>
|
|||
set pastetoggle=<F2>
|
||||
set showmode
|
||||
|
||||
" persistent folds
|
||||
augroup AutoSaveFolds
|
||||
autocmd!
|
||||
autocmd BufWinLeave *.* mkview
|
||||
autocmd BufWinEnter *.* silent loadview
|
||||
augroup END
|
||||
|
||||
" set custom syntax highlighting
|
||||
augroup syntaxhighlighting
|
||||
autocmd BufNewFile,BufRead *.html set syntax=html_custom
|
||||
|
|
Loading…
Reference in New Issue