Hi. > if i switch to command mode strange things happen. like > i press 'h' to go to the left and it just adds 'h's to > the command line. but if i give it a export VISUAL=vi > from the command line everything is ok. Did you try using "set -o vi"? Regards, Jochen