Re: Preventing Vim from loading files from arglist

2015-07-15 Thread Jack Mudge
On 07/07/2015 03:22 PM, Ben Fritz wrote: On Tuesday, July 7, 2015 at 12:35:32 PM UTC-5, David Fishburn wrote: An autocmd I can create and therefore provide some command line argument to tell it not to load the files from the command line Maybe the BufReadCmd autocmd event would work? I'm not

Preventing Vim from loading files from arglist

2015-07-07 Thread David Fishburn
This is a specific scenario from a thread Ben and I have been having from the Diff mode via Tabs thread. What I would like to do is use Windows SendTo menu, which allows the user to choose n number of files and send them to Vim. Easy to do, create a SendTo item which has gvim.exe, highlight

Re: Preventing Vim from loading files from arglist

2015-07-07 Thread Brennen Bearnes
David Fishburn dfishburn@gmail.com wrote: The idea here is MyCommand will use the argument list provided and do something with it. Howsabout a wrapper script which converts the arguments to an environment variable, which is then accessed by vim? I think I'd know how to go about that in

Re: Preventing Vim from loading files from arglist

2015-07-07 Thread Ben Fritz
On Tuesday, July 7, 2015 at 12:35:32 PM UTC-5, David Fishburn wrote: An autocmd I can create and therefore provide some command line argument to tell it not to load the files from the command line Maybe the BufReadCmd autocmd event would work? I'm not sure how it interacts with swap files.