2

I have a multiline text in my Vim editor as, enter image description here

One line of text is spread across multiple lines as shown above. For editing, i would like to move up/down one display line (screen-row) at a time.

But pressing down arrow takes me to the dead end which is not desired.

How can I navigate in a multiline text using the arrow keys?

Note: In other editors like emacs, gedit, I don't see this problem. When I press down arrow, it goes one level down in the screen display

4

Command gj moves the cursor one screen line down and similarly gk moves it up by one screen line.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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