define :A {arg-name} similar to :b +cmd {bufname}

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

define :A {arg-name} similar to :b +cmd {bufname}

'Jürgen Krämer' via vim_use


Note that although both ":buffer N" and ":buffer {bufname}" exist,
:argument takes only numbers.

Just as we have ":b {bufname}", would like to have ":A {arg-file}".

Would be nice for :A to have all the features of :b but for the argument
list -- features such as returning all files that containing the string
{arg-file}, support for ":SA {arg-file}" and ":tab SA {arg-file}".

So how can a ":A" command be defined to do for the arg-list what :b does
for the buffer list?



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

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit