Ubuntu – Vim: Move left at the beginning of a line should go to above line

text-editorvim

In usual text editors, when you move your cursor left at the beginning of a line, the cursor goes up at the end of the above line. Is it possible to get this behavior in Vim?

Best Answer

:set ww+=<,> should make the left and right movement wrap to previous/next line. :help whichwrap for more information.