From vim Wed Dec 11 18:11:27 2002 From: Emmanuel Touzery Date: Wed, 11 Dec 2002 18:11:27 +0000 To: vim Subject: Re: automatically opening folds X-MARC-Message: https://marc.info/?l=vim&m=103963028731385 Subject: Re: automatically opening folds Date: Wed, 11 Dec 2002 19:09:43 +0100 From: Emmanuel Touzery To: "Dan Sharp" On Wednesday 11 December 2002 16:55, you wrote: > From: Emmanuel Touzery > > >When I start vim, the cursor is automatically positionned on the posit= ion > >it > >was last time i used the file (macro taken in > >/usr/local/share/vim/vim60/vimrc_example.vim). However, if I was in a > > fold, i > >have each time to enter zo to open the fold. Is there a way that vim c= ould > >do > >this for me? I tried to modify the macro but couldn't get it to work. > > See if adding > > :set foldopen+=3Djump > > in your .vimrc helps. Take a look at :he 'foldopen' for the various > values. i think that foldopen+=3Djump didn't fix it, but foldopen=3Dall did! i'll look tomorrow which value is the one I want to add. > Dan Sharp emmanuel