|
@@ -65,6 +65,8 @@ autocmd FileType tex,latex set wrap showbreak=+ spell makeprg=pdflatex\ -interac
|
|
|
autocmd FileType sml set autoindent
|
|
autocmd FileType sml set autoindent
|
|
|
autocmd FileType man set nomod nolist readonly
|
|
autocmd FileType man set nomod nolist readonly
|
|
|
autocmd FileType man map q :q<CR>
|
|
autocmd FileType man map q :q<CR>
|
|
|
|
|
+autocmd FileType diff map H zA
|
|
|
|
|
+autocmd FileType diff map L za
|
|
|
|
|
|
|
|
autocmd InsertEnter * if !exists('w:last_fdm') | let w:last_fdm=&foldmethod | setlocal foldmethod=manual | endif
|
|
autocmd InsertEnter * if !exists('w:last_fdm') | let w:last_fdm=&foldmethod | setlocal foldmethod=manual | endif
|
|
|
autocmd InsertLeave,WinLeave * if exists('w:last_fdm') | let &l:foldmethod=w:last_fdm | unlet w:last_fdm | endif
|
|
autocmd InsertLeave,WinLeave * if exists('w:last_fdm') | let &l:foldmethod=w:last_fdm | unlet w:last_fdm | endif
|