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

Using vi-mode plugin conflicts with sudo plugin's EscEsc sequence #7431

Closed
pentago opened this issue Nov 23, 2018 · 5 comments · Fixed by #8087
Closed

Using vi-mode plugin conflicts with sudo plugin's EscEsc sequence #7431

pentago opened this issue Nov 23, 2018 · 5 comments · Fixed by #8087
Labels
Area: plugin Issue or PR related to a plugin Enhancement Improved user experience Topic: bindkey Pull Request or issue regarding keyboard shortcuts

Comments

@pentago
Copy link

pentago commented Nov 23, 2018

Any chance any of these plugins can be modified so they do not conflict with each other's functionality?
For instance, configurable binding for sudo plugin's Esc Esc sequence would be a decent solution I guess.

@TunaYagci
Copy link

I would love this. I had to remove sudo plugin to use vi-mode.

@abuchanan920
Copy link

abuchanan920 commented Mar 29, 2019

Same - easy fix might be to put something like the following in your .zshrc after the plugins load:
bindkey '<insert keys here>' sudo-command-line

@mcornella
Copy link
Member

The fix for now is to load vi-mode before the sudo plugin.

@mcornella mcornella added Area: plugin Issue or PR related to a plugin Topic: bindkey Pull Request or issue regarding keyboard shortcuts Enhancement Improved user experience labels Apr 10, 2019
@SomeDer
Copy link
Contributor

SomeDer commented May 11, 2019

@mcornella maybe this should be mentioned in the README

@pentago
Copy link
Author

pentago commented Aug 16, 2019

@mcornella this doesn't work on my end, just tried it. Anything changed in the meantime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Enhancement Improved user experience Topic: bindkey Pull Request or issue regarding keyboard shortcuts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants