Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: add buffer variable or user autocmd when sudo invoked #36

Closed
fourjay opened this issue Feb 18, 2016 · 1 comment
Closed

Request: add buffer variable or user autocmd when sudo invoked #36

fourjay opened this issue Feb 18, 2016 · 1 comment

Comments

@fourjay
Copy link

fourjay commented Feb 18, 2016

I've been using sudowrite for system configuration in conjunction with some VCS. I'd like to be able to cue "smarter" behavior for this scenario, in this case adjust the behavior of the VCS calls to reflect a need for privileged invocation.

This seems like other commands might want to know this as well.

@tpope
Copy link
Owner

tpope commented Feb 19, 2016

Currently the usual BufWritePost does not trigger, correct? That is my recollection about how BufWriteCmd works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants