diff --git a/vimrc b/vimrc index 9ada4a4..5327754 100644 --- a/vimrc +++ b/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 tt :tabnew