Vim keep cursor location while scrolling

后端 未结 6 1180
北海茫月
北海茫月 2021-01-30 16:05

Is there a way to keep the cusror location off-screen in Vim / gVim while scrolling? Similar to many Windows editors.
I know about marks, and do use them. I also know the

6条回答
  •  情话喂你
    2021-01-30 16:53

    Also very useful are the '' (2x single quotes) and `` (2x back quotes). The former jumps back to the line you were prior to the last jump (for instance, a page down). The latter jumps back to the line and column you were prior to the last jump.

提交回复
热议问题