If you\'re typing a command in Vim (I mean you\'ve started with :
and you\'re working in the bar at the bottom of the screen) is there a way to move the cursor
Type
:h cmdline-editing
for details. I am listing a few of the interesting non-arrow commands that do something similar to what you want.
5h
.Tap Ctrl+F while in command-line mode (just after :
). There you'll get command-line window which could be edited&navigated as a regular vim window (hjkl etc.).
See :h cmdline-window
for details.
nnoremap q; q:
to facilitate typing. usr_20.txt and cmdline.txt contains all useful infos.
On Mac OS,
To add to Maxim Kim's Answer,
In the Normal Mode
..
q:
-> cmdline window for commands
q/
-> cmdline window for search forward
q?
-> cmdline window for search backward
Ctrl-C
or <CR>
will take you out of cmdline-window