Possible problem with VISUAL=vi (vim & bash)
dist: Core Linux
uname: Linux 184.108.40.206 SMP i686
editor: vi symbollically linked to vim
I'm trying to make it that my shell command line editing uses vi mode. I've used Solaris and AIX but I am new to Linux.
From editing .profile and adding:
i expected that at my command prompt:
I would be able to press [ESC] and then scroll through the history with j,k and edit the lines with vi commands like dw and, more importantly, search for a shell command in the history with /.
I've made the modification above but it doesn't work. I think that I'm either doing it incorrectly (perhaps I have to use ksh?) or I need to reset my expectations!
Thanks muchly for any advice.