There is a big problem with vi editor. When I was attempting to use a vi editor in insert mode I was unable to use arrow keys to move cursor up and down. It responses in printing the characters A to D.
on 11/22/2009 – Made popular on 11/22/2009
I love vi and I have been using it a very long time. But it seems to have changed in odd ways. One area is the use of arrow keys. I frequently use the arrow keys instead of the hjkl keys to move the cursor around. This works with the GUI version VIM but not on the CLI version, where the arrow key escape sequences puts the editor unto insert mode.
This problem has been on for months on my laptop. I'm using Lenovo Yoga 13, with Fedora 20 (kernel 3.12.5-302.fc20.i686). The problem is like this:
When I'm trying to navigate in an editor using the left or right arrow key by long-pressing the key, it sometimes got "stuck" and the cursor keeps moving even though I lifted my finger and the key bounced back up.
This might seem a little too overboard, but I switched to vim and I so happy about the workflow now. I try to discipline myself not to use the arrow keys, as keeping the hands on the alfa-keys all the time is such a big thing when writing.
When I am using ipython or ipython3, I can use the %edit command to open up an editor to write my python scripts in. My problem is that the default editor is vim and I really do not get how to use that editor. What I would like to do is to change the editor to either nano or gedit.
Sorry, I looked hard for anything related to this problem; I didn't want to open a new thread, but...
I use an ancient text editor - Jove - that I maintain and update myself. It has worked fine on Fedora 6, 7 and 8 under gnome-terminal (known to the Jove editor as xterm).