shawn bright schrieb:
lo there,
i have two quick questions.
first, is there a way i can scroll text under the cursor ( so that the
cursor stays on the same place in the terminal, but the text scrolls
anyway )
i just think that would be really cool.
Without mappings:
" keep cursor in same column
:set nostartofline
" global, also has influence on other commands
" how many lines to scroll
:set scroll=1
" local to window
Then use Ctrl-D and Ctrl-U. A count changes the value of 'scroll'.
Don't miss the help:
:h 'sol
:h 'scr
--
Regards,
Andy
EOM