FANDOM


m (All folds open at startup or just openen file moved to All folds open when open a file: Page moved by JohnBot to improve title)
(Change to TipImported template + severe manual clean)
Line 1: Line 1:
 
{{review}}
 
{{review}}
{{Tip
+
{{TipImported
 
|id=797
 
|id=797
|title=All folds open at startup or just openen file
+
|previous=796
|created=October 1, 2004 7:11
+
|next=798
  +
|created=October 1, 2004
 
|complexity=basic
 
|complexity=basic
 
|author=Pim Snel
 
|author=Pim Snel
 
|version=6.0
 
|version=6.0
 
|rating=6/7
 
|rating=6/7
|text=
+
}}
when you set foldmethod=indent all folds are closed when you open a file. If you set the foldlevel to a high setting files are always started with opened folds. Put the settings below in your .vimrc
+
When you set <tt>foldmethod=indent</tt> all folds are closed when you open a file. If you set the foldlevel to a high setting files are always started with opened folds. Put the settings below in your vimrc.
   
  +
<pre>
  +
set foldmethod=indent
  +
set foldlevel=20
  +
</pre>
   
  +
==Comments==
  +
See comments toward the bottom of [[VimTip80]].
   
set foldmethod=indent
 
 
set foldlevel=20
 
 
 
}}
 
 
== Comments ==
 
See comments toward the bottom of [[VimTip80]]
 
 
Suresh Govindachar
 
, October 1, 2004 13:31
 
 
----
 
----
<!-- parsed by vimtips.py in 0.649179 seconds-->
 

Revision as of 01:35, November 11, 2007

Tip 797 Printable Monobook Previous Next

created October 1, 2004 · complexity basic · author Pim Snel · version 6.0


When you set foldmethod=indent all folds are closed when you open a file. If you set the foldlevel to a high setting files are always started with opened folds. Put the settings below in your vimrc.

set foldmethod=indent
set foldlevel=20

Comments

See comments toward the bottom of VimTip80.


Community content is available under CC-BY-SA unless otherwise noted.