Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove folding from vim to speed it up
  • Loading branch information
joemsak committed May 7, 2014
1 parent 29983ae commit 2cd4062
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions vimrc
Expand Up @@ -236,7 +236,7 @@ map <leader>c :w\|:!script/features<cr>
map <leader>w :w\|:!script/features --profile wip<cr>
" Sessions ********************************************************************
set sessionoptions=blank,buffers,curdir,folds,help,options,resize,tabpages,winpos,winsize,globals
set sessionoptions=blank,buffers,curdir,help,options,resize,tabpages,winpos,winsize,globals

function! AutosaveSessionOn(session_file_path)
augroup AutosaveSession
Expand Down Expand Up @@ -299,18 +299,6 @@ autocmd BufRead *.markdown map <Leader>p :call PreviewMKD()<CR>
autocmd BufRead *.markdown call WordWrap("on")
autocmd BufRead *.markdown set spell

" Folding *********************************************************************
function! EnableFolding()
set foldcolumn=2
set foldenable
endfunction
function! DisableFolding()
set foldcolumn=0
set nofoldenable
endfunction
set foldmethod=syntax
call DisableFolding()

" Netrw
let g:netrw_liststyle=3
let g:netrw_browse_split=0
Expand Down

0 comments on commit 2cd4062

Please sign in to comment.