I am relatively new to using vim
. I have to admit it is a powerful tool, however it can be very frustrating if one doesn't learn how to use it.
Whatever, there is one or two things that annoy me terribly:
How can I get to the end of the previous line/start of the next one?
Assume I have this text file:
abcdef | <- cursor, not character ghijkl
In all the text editor I have seen, pressing
left-arrow
would bring me to thef
letter, like this:abcdef| <- cursor, not character ghijkl
Idem est, pressing
right-arrow
would bring me to the beginning of the next line (before theg
character).However,
vim
doesn't do that, the cursor is stuck if I don't pressup/down-arrow
. Can I change that? It is very annoying.How can I go directly to the end of the last line by pressing
down-arrow
?Assume I have this text file
a b |c <- '|' is the cursor def
By pressing
down-arrow
, I will go before the letterd
, okay, but if I click again, nothing will happen. However, I would like the cursor to go to the end of that line (since it is the last one of the text file). How? The only solution I found was to put several new empty line...Why does the cursor can't go to the last character in command mode? It keeps being stuck like this:
abcde|f
, without being able to go after thef
.