This commit is contained in:
ManjaroOne666 2018-10-10 09:31:33 +01:00
parent 02f6548696
commit e7c5f6a35c
1 changed files with 5 additions and 2 deletions

7
vimrc
View File

@ -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
"}}} "}}}