1

As title. Just like the case where <C-n> and <C-p> is a pair. I would like to know how to scroll down one line at a time.

5
  • ctrl+y is't a standard command. I think you have a plugin installed that have implemented ctrl+y for you. And for your other question, scroll down one line should be achievable by pressing j. Oct 3, 2022 at 10:49
  • 5
    See :h CTRL-E
    – 3N4N
    Oct 3, 2022 at 11:01
  • 3
    @MerajulArefinPial I will not call the behavior of j "scrolling down". By scrolling down I mean showing one more line at the bottom(and thus hide the first line) of the current window/buffer. Oct 3, 2022 at 11:01
  • 1
    @MerajulArefinPial Ctrl-e/y are even in the original vi. They move the page, not the cursor.
    – paradroid
    Oct 3, 2022 at 17:29
  • @paradroid, sorry I was wrong. You are right. Oct 4, 2022 at 4:34

1 Answer 1

2

While it might sound hilarious but since there are only a-z keys there to try so I just tried all combinations and found that <C-e> is what I need. Thanks to everyone for reading and trying to help in the comment section.

1
  • 2
    An easier way to find this out is :help ctrl-y, which is in the "scrolling upwards" section, and if you scroll that page up a bit more then there's a "scrolling downwards" section. :help index is also useful, and lists all keybinds (:help normal-index for normal mode mappings). Also see How do I navigate to topics in Vim's documentation? Oct 3, 2022 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.