how do you keep your cursor where you're at while scrolling
down the document so you don't have to scroll your cursor to
the very of bottom of the document to keep scrolling down.
Vim requires that the cursor be within the view window at all
times. However, you can use marks to book-mark your current
location and then navigate wherever you want, then use the
backtick to return to where you were.
mg (drop mark "g" at the current location)
[navigate around a bit]
`g (return to where we dropped mark "g")
Additionally, if you were previously in insert mode, but need to
navigate somewhere to look up some information, you can hit <esc>
to get into normal mode, navigate around a bit, and then use
gi
to resume insertion where you left off.
:help mark
:help `
:help :marks
:help gi
-tim
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php