I am a long time emacs user learning Vim. Emacs lets me navigate in the mini-buffer (where I issue commands like C-x C-s) using the same navigation keyboard shortcuts as in any other buffer. For example, I can navigate forward one character using C-f, even while in the mini-buffer. I could also use the arrow keys, but they are too far away.
Is there any keyboard shortcut to navigate in Vim's command mode (:), without using the arrow keys -- equivalent to emacs C-f, C-b? Thanks.
I have these in my .vimrc
Some from the Vim help:
Adding to Greg Hewgill's answer, you can use
q:
to open the command-line window, where you have any Vim editing power at your hand.With the default key bindings, vim does not offer non-arrow-key navigation of the command line editing. However, see
:help cmdline-editing
for an example of how to use the:cnoremap
command to set up alternate key bindings.