Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [argument-list]

Questions about the usage and the manipulation of the argument list. The argument list is the list of file names you give when starting Vim.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers

Macro doesn't run properly when executed with :bufdo or :argdo

I have a macro that looks like: :reg a Type Name Content c "a /^where^MkV%yGo^M-- Some typing...:^[pVG:!/tmp/^M It works fine from any starting position in the file when I replay it ...
jberryman's user avatar
  • 133
0 votes
0 answers

How do I pass multiple optional arguments from custom command to function?

Given a function with two optional arguments fun s:foo(one = v:false, two = v:false) echom '<' . a:one . ',' . a:two . '>' endf and a custom command calling it command! -nargs=* Foo call s:...
Enlico's user avatar
  • 2,214
0 votes
0 answers

How can I see what arguments vim was invoked with?

Is it possible to see what arguments vim was invoked with when it was run? vim -O foo bar To show -O foo bar, but especially if there are configurations set like -Z?
Evan Carroll's user avatar
  • 1,384