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

Add Ctrl-[ keybind to close tofi #97

Closed
arnor-nolen opened this issue Apr 21, 2023 · 5 comments
Closed

Add Ctrl-[ keybind to close tofi #97

arnor-nolen opened this issue Apr 21, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@arnor-nolen
Copy link

arnor-nolen commented Apr 21, 2023

In Vim, I usually use Ctrl-O to get back to normal mode, it is an equivalent to pressing Escape. It would be nice to also have this keybind in tofi, I was using it all the time when using dmenu.

@philj56 philj56 added the enhancement New feature or request label Apr 30, 2023
@philj56
Copy link
Owner

philj56 commented Apr 30, 2023

Done in 63f3a9b.

Out of interest, was that a custom patch to dmenu? Ctrl-O does nothing for me there (and it's not in the man page).

@arnor-nolen
Copy link
Author

Sorry, my mistake 🤦. It was actually Ctrl-[. Any chance you could change it?

@arnor-nolen arnor-nolen changed the title Add Ctrl-O keybind to close tofi Add Ctrl-[ keybind to close tofi May 2, 2023
@arnor-nolen
Copy link
Author

Related part of the code in dmenu: https://git.suckless.org/dmenu/file/dmenu.c.html#l390

@philj56
Copy link
Owner

philj56 commented May 2, 2023

Aah that makes more sense, I did think it was a bit odd. Changed in 871dc09.

@arnor-nolen
Copy link
Author

Thank you for adding this!

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

No branches or pull requests

2 participants