diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-22 20:12:36 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-22 20:12:36 +1200 |
commit | 3214513cbf6ab4a35705d29096f5943e2ef98bb2 (patch) | |
tree | 4ac99f37fd93be8609435f529735ab602b493e0b /vim/vimrc | |
parent | Add d (macros) to C and C++ 'complete' setting (diff) | |
download | dotfiles-3214513cbf6ab4a35705d29096f5943e2ef98bb2.tar.gz dotfiles-3214513cbf6ab4a35705d29096f5943e2ef98bb2.zip |
Add some folding settings
I don't particularly like folding, but these seem pretty inoffensive; I
can quickly close a block whenever I need to.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -139,6 +139,12 @@ set wildmenu " Use wildmenu set wildmode=list:longest " Tab press completes and lists silent! set wildignorecase " Case insensitive, if supported +" Fold based on indent, but only when I ask +if has('folding') + set foldlevelstart=99 + set foldmethod=indent +endif + " Don't load GUI menus; set here before GUI starts if has('gui_running') set guioptions+=M |