Comment out folding rules for vim
This commit is contained in:
parent
dfe20d2725
commit
02c38feec7
16
vimrc
16
vimrc
@ -18,7 +18,7 @@ set history=1000
|
||||
set autoread " Set to auto read when a file is changed from the outside
|
||||
set autochdir " Change current directory to be directory of current file
|
||||
set colorcolumn=80
|
||||
set foldmethod=syntax
|
||||
"set foldmethod=syntax
|
||||
|
||||
if $TMUX == ''
|
||||
set clipboard+=unnamed
|
||||
@ -80,13 +80,13 @@ function! s:CloseIfOnlyNerdTreeLeft()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! FoldText()
|
||||
let nl = v:foldend - v:foldstart + 1
|
||||
let linetext = getline(v:foldstart)
|
||||
let txt = linetext . ' ' . nl . ' lines '
|
||||
return txt
|
||||
endfunction
|
||||
set foldtext=FoldText()
|
||||
"function! FoldText()
|
||||
" let nl = v:foldend - v:foldstart + 1
|
||||
" let linetext = getline(v:foldstart)
|
||||
" let txt = linetext . ' ' . nl . ' lines '
|
||||
" return txt
|
||||
"endfunction
|
||||
"set foldtext=FoldText()
|
||||
|
||||
" Vim Tabs
|
||||
map <leader>tt :tabnew<cr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user