Stefan Sperling writes: > On Mon, Jan 07, 2013 at 02:09:01PM +0100, Lars von den Driesch wrote: > > However, I like vim and as soon as I set the EDITOR env variable to it > > the "arrow up/down" functionality is gone. In fact even if EDITOR is > > set with "export EDITOR=" the functionality is gone. Commands typed in > > still appear in the history using "fc -l". I just cannot use the > > arrow-keys. > > > > What am I missing here? Can someone confirm this? > > It's a silly ksh misfeature. ksh switches to vi editing mode as soon as > vi is set as an editor.
Well, that's one part of the problem. The other issue is that arrow keys don't work in vi mode even though they probably should.