diff options
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -225,7 +225,7 @@ set foldnestmax=1 | " top level folding only | |||
225 | set foldopen=block,hor,search | " when do we unfold? | 225 | set foldopen=block,hor,search | " when do we unfold? |
226 | " set foldtext=Foldtext() | " | 226 | " set foldtext=Foldtext() | " |
227 | " set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\v^/[/*]\','','g') | 227 | " set foldtext=v:folddashes.substitute(getline(v:foldstart),'\\v^/[/*]\','','g') |
228 | set foldtext='⊞\ '.getline(v:foldstart).getline(v:foldstart+1).'↵'.getline(v:foldstart+2) | 228 | set foldtext='⊞\ '.substitute(getline(v:foldstart),'^[\ '.printf(&cms,'').']*','','').'↵'.getline(v:foldstart+1).'↵'.getline(v:foldstart+2) |
229 | 229 | ||
230 | " vim window behaviour | 230 | " vim window behaviour |
231 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 231 | set splitbelow | " open new windows below the current one (i find that more intuitive) |