aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
authorMax Christian Pohle2018-02-09 00:14:35 +0100
committerMax Christian Pohle2018-02-09 00:14:35 +0100
commitaa9ed1ced697734a2ffbc5d2c7a83e2557115f84 (patch)
tree2133eca9fac1baf49be03eb56fb99442935f595a /vimrc-full
parent6a9632cbb7dc3267fd1743da40d2b0ab1c52917c (diff)
downloadvim-karlmarks-aa9ed1ced697734a2ffbc5d2c7a83e2557115f84.tar.bz2
vim-karlmarks-aa9ed1ced697734a2ffbc5d2c7a83e2557115f84.zip
Again made foldtext fancier :)
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc-full b/vimrc-full
index be99a64..9354b77 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -225,7 +225,7 @@ set foldnestmax=1 | " top level folding only
225set foldopen=block,hor,search | " when do we unfold? 225set 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')
228set foldtext='⊞\ '.getline(v:foldstart).getline(v:foldstart+1).'↵'.getline(v:foldstart+2) 228set 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
231set splitbelow | " open new windows below the current one (i find that more intuitive) 231set splitbelow | " open new windows below the current one (i find that more intuitive)
..