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.
Thanks in advance!
--
View this message in context: http://old.nabble.com/scroll-down-without-moving-cursor-to-the-bottom-of-the-screen-tp27501660p27501660.html
Sent from the Vim - General mailing list archive at Nabble.com.
ctrl-e and ctrl-y do what you want (scrolling one line at a time). See
:help scrolling
There is also ctrl-u/ctrl-d (scrolls half a screen at a time) and
ctrl-f/ctrl-b (scroll by full screen).
Cheers, Michael
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
>
>
--
View this message in context: http://old.nabble.com/scroll-down-without-moving-cursor-to-the-bottom-of-the-screen-tp27501660p27504234.html