Hi lith!

On Do, 09 Jun 2011, lith wrote:

> Is there a way to execute the :s or :/ command from a script without adding 
> any patterns to the search history. I.e. is there a command like 
> :keephistory (similar to :keepjumps) or any other solution that let's me 
> execute a command without changing the search history?

You can clear the search history afterwards, using the histdel() 
function, see

:h histdel()

regards,
Christian

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

Reply via email to