From: Simon Ruderich Date: Sat, 20 Oct 2012 10:42:20 +0000 (+0200) Subject: vimrc: Don't open folds for block movements. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=df951f1fbd8e87935fed1972b3f9afc8e1fbf4ab;p=config%2Fdotfiles.git vimrc: Don't open folds for block movements. --- diff --git a/vimrc b/vimrc index 3b77e8e..26e7463 100644 --- a/vimrc +++ b/vimrc @@ -190,6 +190,8 @@ if has('folding') 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.