Created
June 22, 2011 14:00
-
-
Save tomkersten/1040138 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" --------------------------------------------------------------------------- | |
" Folding | |
" --------------------------------------------------------------------------- | |
set foldmethod=syntax " Syntax highlighting items specify folds | |
set foldtext=getline(v:foldstart) " Set text displayed in "foldbar" when code is folded | |
set fillchars=fold:\ " Fill foldline "empty space" with...empty spaces (instead of default "-" character) | |
set foldcolumn=1 " Sets width of "foldcolumn" on left of screen used to display foldstatus indicators | |
set foldlevel=1 " Folds below 1-level. Class/Module-level definitions expanded...all others folded by default | |
" 'open' folds with the space bar | |
noremap <space> za |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment