diff options
author | Max Christian Pohle | 2018-02-09 00:14:35 +0100 |
---|---|---|
committer | Max Christian Pohle | 2018-02-09 00:14:35 +0100 |
commit | aa9ed1ced697734a2ffbc5d2c7a83e2557115f84 (patch) | |
tree | 2133eca9fac1baf49be03eb56fb99442935f595a | |
parent | 6a9632cbb7dc3267fd1743da40d2b0ab1c52917c (diff) | |
download | vim-karlmarks-aa9ed1ced697734a2ffbc5d2c7a83e2557115f84.tar.bz2 vim-karlmarks-aa9ed1ced697734a2ffbc5d2c7a83e2557115f84.zip |
Again made foldtext fancier :)
-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) |