I really like Ctrl-E
and Ctrl-Y
in normal mode, which expose additional lines at the bottom or top of the screen (respectively) without moving the cursor.
I'd like to do the same thing in insert mode sometimes when I'm writing and want to look at some earlier text a few lines up at the same time.
Ctrl-E
and Ctrl-Y
in insert mode don't do this (although what they do is actually incredibly interesting and useful, especially while modifying config files or markdown tables—see :h i_CTRL-E
), and I don't know what keywords to search for to find what I'm looking for.
I'm aware of Ctrl-O Ctrl-E
, and Ctrl-O Ctrl-Y
, but those seem kind of unwieldy for regular use.
Is there any shorter keybinding that exists in Vim to do this, without special configuration?