Tip #293: remember where you had ended reading help
tip karma |
Rating 2/2, Viewed by 810
|
created: |
|
July 30, 2002 6:07 |
|
complexity: |
|
basic |
author: |
|
Max Ischenko |
|
as of Vim: |
|
5.7 |
You could jump to the last place you had been while reading Vim help files if you add this to your
.vimrc file:
au BufLeave * if &ft; == "help" | mark H | endif
Then use 'H to go to the mark H.
To work between Vim runs 'viminfo' option should be setup to save file marks.
See :help 'viminfo' and :help file-marks for more information.
<<vim + cscope + cygwin |
Use Ctrl-S to save current or new files. >>
Additional Notes
|