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

Consider adding widget to zsh plugin for use with key binding #24

Open
itsdeadguy opened this issue Oct 13, 2020 · 1 comment
Open

Consider adding widget to zsh plugin for use with key binding #24

itsdeadguy opened this issue Oct 13, 2020 · 1 comment

Comments

@itsdeadguy
Copy link

I tried using what's present in the Tips and Tricks section of the wiki but this just inserts the command into my prompt.
The zsh plugin could include the appropiate widget and then leave the actual binding of the key to the user. That way, when doing ^G, for example, the command would run directly.

@BachoSeven
Copy link

Without using a widget, you can do this which I've been using for a while:

bindkey -s '\ef' ' dotbare fedit\r'

(Alt+f)

which is almost the same as the example in the wiki, which also works on my machine...

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