You are not logged in.
A few updates ago vim changed how it responds to my arrow keys while in insert mode.
Now it will print a C when I use left arrow, D for right arrow, A for up and B for down.
Does anybody know how I can get my old behavior back OR how I can goto the end of the line to add something after the last character?
Before the change I could use END to goto the end of the line, press i, then use the arrow right key and start adding information.
Thanks.
Last edited by JAcky (2009-09-29 14:08:47)
Offline
I got this bug too after pacman -Syu.
Offline
It's not a bug. Before the update you were actually using a stripped down vim which has been replaced by vi. If you need the full vim functionality you'll need to install the vim package. This got me confused too when visudo opened with different behaviour then before. There is also a news article on the front page which details a step you'll need to take.
You can go to the end of the line in insert mode by pressing Shift+a by the way.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Don't use vi, make sure vim is not in compatible mode and make sure your $TERM is sane.
edit:
if you really want to use vi, you could do something like this: http://www.sunmanagers.org/archives/1997/0899.html
Last edited by Mr.Elendig (2009-09-29 13:09:16)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Ooop, too slow posting.
There's more on this on thread:
http://bbs.archlinux.org/viewtopic.php? … 93#p620293
Last edited by Gen2ly (2009-09-29 13:30:44)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
You can go to the end of the line in insert mode by pressing Shift+a by the way.
That works, thanks.
Don't use vi, make sure vim is not in compatible mode.
I found a post with Google stating that the option should be :set nocompatible but vi did not accept the option ....
Then I realized that ARCH really installs vi when requested where other distros usually install vim and link the vi command to vim.
Thanks for all the help, I'll switch to vim
Last edited by JAcky (2009-09-29 14:09:11)
Offline