Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Keep arglist intact #1

Merged
merged 1 commit into from Mar 23, 2013

Conversation

Projects
None yet
3 participants

This pull request uses the :arglocal and :argglobal commands to avoid clobbering Vim's arglist while :Qdo is executed.

Incidentally, how do you feel about making QuickfixFilenames a script-local function? The only reason I didn't do it in the PR is because it does seem like it might be useful to call from elsewhere.

@henrik henrik added a commit that referenced this pull request Mar 23, 2013

@henrik henrik Merge pull request #1 from AndrewRadev/dont-clobber-args
Keep arglist intact
40713bf

@henrik henrik merged commit 40713bf into henrik:master Mar 23, 2013

Owner

henrik commented Mar 23, 2013

Nice. Learned some new things.

I've never called it from elsewhere, so script-local would be fine with me.

@AndrewRadev AndrewRadev deleted the unknown repository branch Mar 24, 2013

Yeah, I also discovered arglocal and argglobal by accident just yesterday :). Depending on the workflow, this could be quite useful.

Nice work @AndrewRadev!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment