* Dmitrij D. Czarkoff <czark...@gmail.com> [110721 14:49]: > Hello! > > I tried both documentation and google, and I could only figure out how to > enable arrow keys in emacs mode of ksh. > > Is there a way to enable them in vi mode? Same goes for HOME and END buttons.
No. Currently there's no way to do that. > P.S.: I know it is rather a separate question, but is there a way to start > with command mode as it is in vi? Man page says just "You start out in insert > mode" without any tips on whether this configuration is default or fixed. No. But you can use the patch below: diff --git a/vi.c b/vi.c index 0bac6be..b8f6d5b 100644 --- a/vi.c +++ b/vi.c @@ -193,6 +193,7 @@ x_vi(char *buf, size_t len) int c; vi_reset(buf, len > CMDLEN ? CMDLEN : len); + insert = 0; vi_pprompt(1); x_flush(); while (1) { -- Alexander Polakov | plhk.ru