update
This commit is contained in:
parent
02f6548696
commit
e7c5f6a35c
7
vimrc
7
vimrc
|
@ -553,7 +553,7 @@ function! MyFoldText() "{{{
|
||||||
let g:foldtext_maxcolumn = 120
|
let g:foldtext_maxcolumn = 120
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let l:linecount = v:foldend - v:foldstart - 1
|
let l:linecount = v:foldend - v:foldstart
|
||||||
" don't display foldmarker braces
|
" don't display foldmarker braces
|
||||||
let l:line = substitute(getline(v:foldstart), '\{\{\{', '', '')
|
let l:line = substitute(getline(v:foldstart), '\{\{\{', '', '')
|
||||||
" don't display vim comment quotation marks
|
" don't display vim comment quotation marks
|
||||||
|
@ -852,6 +852,8 @@ set undofile
|
||||||
|
|
||||||
set clipboard=unnamedplus
|
set clipboard=unnamedplus
|
||||||
|
|
||||||
|
set viewoptions-=options
|
||||||
|
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
|
|
||||||
|
@ -1084,7 +1086,8 @@ iabbrev bgc: background-color:;<left>
|
||||||
" persistent folds {{{
|
" persistent folds {{{
|
||||||
augroup AutoSaveFolds
|
augroup AutoSaveFolds
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufWinLeave ?* mkview
|
" autocmd BufWinLeave ?* mkview
|
||||||
|
autocmd BufWrite ?* mkview
|
||||||
autocmd BufWinEnter ?* silent loadview
|
autocmd BufWinEnter ?* silent loadview
|
||||||
augroup END
|
augroup END
|
||||||
"}}}
|
"}}}
|
||||||
|
|
Loading…
Reference in New Issue