endif
set foldlevel=99 " no closed folds at default, 'foldenable' would disable
" folding which is not what I want
+ " Don't open folds for block movements like '(', '{', '[[', '[{', etc.
+ set foldopen-=block
endif
" Only check case if the searched word contains a capital character.
let g:xptemplate_highlight = 'current'
endif
+" CtrlP settings.
+ " Don't manage the working directory (the default setting is too slow for
+ " me).
+ let g:ctrlp_working_path_mode = 0
+ " Path to cache directory. I prefer to keep generated files as local as
+ " possible.
+ let g:ctrlp_cache_dir = $HOME . '/.vim/cache/ctrlp'
+ " Permanent cache, cleared by a crontab entry.
+ let g:ctrlp_clear_cache_on_exit = 0
+
" AUTO COMMANDS