Tip: shortcut for kill-this-buffer

Table of Contents

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!

Tory Anderson avatar
Tory Anderson
Full-time Web App Engineer, Digital Humanist, Researcher, Computer Psychologist