On nano&emacs&any other text editor, when the cursor is at the 1st character of a line (not the 1st line), press the left key and it will automatically jump to the last character of previous line.
Similarly, press the right key when cursor is at end of a line,and it will automatically jump to the 1st character of next line.
How to make this work on vim(normal, insert and visual mode)?