Sunday, March 5, 2017

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

Hello,

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?

Thanks,

--Suresh

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

---
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment