On 08/07/10 20:17, Ivan wrote:
Is there any way to emulate command mode in the search? E.g., if I
use the /string command to search, I would like to type 'j' and 'k' to
scroll through the search history instead of hitting the arrow keys
(like Unix/Aix vi). I would like the same for the :commands, too
(e.g., substitute). I.e., if I type ':' to perform a command, I would
like to be able to scroll through the history by typing 'j' and 'k'
instead of the arrow keys.
In addition to scrolling through the history, I would like to be able
to use the command mode nav keys instead of arrow keys (i.e., 'h',
'l', 'b', and 'w') to traverse the string.
Does anyone know if this is possible? I have read the 572 page Vim
book; however, I did not see anything about this. I also have looked
up every command in the _vimrc file and don't see anything either.
Thank you in advance for your help.
Ivan
I think what you want is the command-line window, opened from Normal
mode by q/ or q? (for Search, or q: for Ex-commands) or from
command-line mode by (usually) Ctrl-F
See :help cmdline-window
Best regards,
Tony.
--
Brain, n.:
The apparatus with which we think that we think.
-- Ambrose Bierce, "The Devil's Dictionary"
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php