Saturday, September 22, 2012

Re: [mszamot@gmail.com Re: a small plugin for :call system() in vim]

04:02 Sat 22 Sep , Tony Mechelynck wrote:
> This is not to say that Martin's request would be invalid: it probably
> isn't; it's just that I prefer it otherwise, and indeed AFAIK even
> implementing Martin's proposal wouldn't force me to change my ways, thus
> making us both happy.
That's why I like it so much, some times I also prefer to run a command
in a real shell (for example interactive ones requires that).

Thank you Marc for the list of plugins, I have to look at them more
closely.

I added it as a plugin: http://www.vim.org/scripts/script.php?script_id=4224
and also I added a reference in Vim wiki: http://vim.wikia.com/wiki/Append_output_of_an_external_command
(in the see also section)

As for the history: it is enough to add "call histdel(':', -1)" to the
command, i.e.
:call system(cmd)|call histdel(':', -1)

Best regards,
Marcin

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