shortcuts

how to change the Firefox Close Tab shortcut

C-w is already a highly used shortcut system-wide on my machine, so I’d like to make a different shortcut for close-tab – say, F4. How can I make this change in Firefox? I felt the frustration of several Firefox questioners who asked the same thing and were answered as if they just didn’t know the shortcut, missing the point entirely. On Reddit, though, I receive two excellent answers. One is the easy solution, with a handy plugin that takes care of it.

Love lost: when exwm falls short

I find myself going back to regular WMs (my favorite from the past being KDE) because certain tasks are just deeply punishing in EXWM. When I’m doing my regular daily work I can usually make EXWM work for me. But here are the facts I experience with/without emacs as my window manager. Life is worse without EXWM Winum. Looking at a screen and hitting the num to focus there; I miss it dearly and cringe when I need to reach for the mouse.

Tip: shortcut for kill-this-buffer

I have added the following shortcut, possible since exwm frees up my s- key: (exwm-input-set-key (kbd "s-<backspace>") 'kill-this-buffer) And, for when I am already in an emacs buffer, this added to my personal key map: (define-key map (kbd "s-<backspace>") 'kill-this-buffer) In any case, making a single-chord shortcut for kill-this-buffer has highlighted how often I use the command, and made work that much faster. Highly recommended!