Monday, September 5, 2011

Re: repeat command line

On Sep 5, 9:01 pm, Joachim Hofmann <joachim.hofm...@toptarif.de>
wrote:

> How can I additionally automatically search for the last command which
> begings with "!" for being executed?

Do you mean :! to run an external command? If so...

You could use the "command-line window", see :help cmdwin, and do a ?
search there. Not automatic, though you could have a mapping (tested
only once):

:map <f4> q:?^!<cr><cr>

A bit dangerous...

Regards, John

--
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

No comments: