• Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
all links
  • scroll - How to move screen without moving cursor in Vim? - Stack Overflow

    Additionally:

    Ctrl-y Moves screen up one line
    Ctrl-e Moves screen down one line
    Ctrl-u Moves cursor & screen up ½ page
    Ctrl-d Moves cursor & screen down ½ page
    Ctrl-b Moves screen up one page, cursor to last line
    Ctrl-f Moves screen down one page, cursor to first line
    

    Ctrl-y and Ctrl-e only change the cursor position if it would be moved off screen.

    August 26, 2019 - permalink - https://stackoverflow.com/questions/3458689/how-to-move-screen-without-moving-cursor-in-vim
    move vim