On 28/10/11 07:07, Jürgen Krämer wrote:

Hi,

Ben Fritz :

On Oct 27, 2:45 pm, Axel<[email protected]>  wrote:
The following command :!start !! is evaluated as :!start start start start
start start ..., which doesn't seem to be right to me (Windows Server 2003
32bit, GVim 7.3 353). Can anybody confirm this?


I get:

E34: No previous command

GVim 7.3.338, Windows XP 64-bit

you have to execute a normal (without !!) start command first, e.g.,

   :!start explorer

Then

   :!start !!

seems to get expanded to

   :!start start explorerstart explorer

and gives

   E371: Command not found
   shell returned -1

for me on a German Windows 7, 64-bit. GVim is 7.3.353.

Regards,
Jürgen


See :help :! and :help :!!

As explained under :help :! a ! (not backslash-escaped) anywhere in the line is replaced by the previous command: in this case, "start explorer".

As explained under :help :!! if you type !! _immediately after the colon_ it repeats the last command.

What you see appears to be the intended behaviour.


Best regards,
Tony.
--
LIBRA (Sept 23 - Oct 22)
        You are the artistic type and have a difficult time with
        reality.  If you are a man, you are more than likely gay.
        Chances for employment and monetary gains are excellent.  Most
        Libra women are prostitutes.  All Libra people die of venereal
        disease.

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui