I use vi mode in my shell all the time, and love it. It only took a day or so to get used to it. But then again, I am a die-hard vim user.
What I'd really like, though, would be a vim mode for the shell, not just a vi mode. Then I could use some of vim's more advanced features, which would make the mode even more useful.
Comments
I use vi mode in my shell all the time, and love it. It only took a day or so to get used to it. But then again, I am a die-hard vim user.
What I'd really like, though, would be a vim mode for the shell, not just a vi mode. Then I could use some of vim's more advanced features, which would make the mode even more useful.
If you've set -o vi, then when you're editing a command line:
esc to get into command mode.
v (just the letter v) will open the current command line in a vi or vim session (depending on your default editor).
Now vim to your heart's content.
:wq will get you out of the vi/vim session, and execute whatever you did in your vi/vim session.
There's always Conque.