From 92b6272ae7d79dcb2ef9048d83cfcb89ae6b22b7 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 22 Jan 2012 15:00:25 -0500 Subject: Enable syntax-based folding --- .vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.vimrc b/.vimrc index 2dc9d72b..65b4046d 100644 --- a/.vimrc +++ b/.vimrc @@ -29,6 +29,8 @@ set smarttab set hlsearch set list set listchars=tab:»·,trail:· +set foldmethod=syntax +set foldlevel=1000 set laststatus=2 " Always show statusline set statusline=%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P -- cgit 1.4.1