> Ok, so I want to repeat a previous :command.  Someone in the
> IRC channel told me to use @:, which makes sense.  When I
> *did* try to do @: nothing happened.  I checked to make sure
> that what I presumed was in : was (":p) and it was.  Why would
> this command not work?


Can you share the content of the command line that you're trying 
to execute?  I use this all the time.

You might also check your build of Vim?  There was a bug in some 
6.x versions that has since been fixed where, if you had a 
literal control character in your command line, such as ^M 
(control+M) in this example:

   :%s/foo,/&^M/g

it would treat the "^M" as the command termination, instead of 
the actual line, so running @:  would only execute

   :%s/foo,/&

and then error out or ignore the weirdness of "/g".

You may also check your version information to ensure you have a 
build compiled with "+cmdline_hist".

-tim




--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to