>From: Emmanuel Touzery > >When I start vim, the cursor is automatically positionned on the position >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 could >do >this for me? I tried to modify the macro but couldn't get it to work. See if adding :set foldopen+=jump in your .vimrc helps. Take a look at :he 'foldopen' for the various values. Dan Sharp _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus