How do I control how many folds will be opened when I start editing a

file? You can modify the ‘foldlevelstart’ option to control the number of folds that will be opened when you start editing a file. To start editing with all the folds closed:

    :set foldlevelstart=0

To start editing with all the folds opened, you can use

    :set foldlevelstart=999

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind