Ulauncher / Ulauncher

Feature rich application Launcher for Linux
https://ulauncher.io
Other
3.66k stars 193 forks source link

Bind C-w to delete a word #578

Open MyriaCore opened 4 years ago

MyriaCore commented 4 years ago

Many programming folks have muscle memory around using Ctrl-W to delete a word. For all intents and purposes, Ctrl-W is equivalent to Ctrl-BackSpace.

To support this muscle memory, it'd be nice if Ctrl-W was bound to the same functionality as Ctrl-BackSpace in ULauncher.

troycurtisjr commented 3 years ago

You might be interested in the Gtk Emacs keymap mode. I usually set it using the Gnome tweaks tool, but there are a few other methods: https://shallowsky.com/blog/linux/gtk3-emacs-key-theme.html setting this let's C-w (and C-f, C-k, C-b, etc) work as you expect in not only Ulauncher, but in (almost) all Gtk based input fields. Of course this does have some impacts, such as apps which bind C-w directly won't work as expected.

MyriaCore commented 3 years ago

Wow, that's actually interesting, I totally never knew about that. I'll defo check it out, although IMO ulauncher should still handle C-w properly.