(feat) add kill-current-buffer keybind

This commit is contained in:
Sakooooo 2024-07-30 04:14:31 +04:00
parent dfa465de05
commit 0c5397922f
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -1322,6 +1322,10 @@ I'm scared
(exwm-input-set-key (kbd "s-SPC") 'app-launcher-run-app) (exwm-input-set-key (kbd "s-SPC") 'app-launcher-run-app)
(exwm-input-set-key (kbd "s-f") 'exwm-layout-toggle-fullscreen) (exwm-input-set-key (kbd "s-f") 'exwm-layout-toggle-fullscreen)
(exwm-input-set-key (kbd "s-<return>") 'vterm) (exwm-input-set-key (kbd "s-<return>") 'vterm)
;; kill apps
(exwm-input-set-key (kbd "s-q") #'kill-current-buffer)
;; Set up global key bindings. These always work, no matter the input state! ;; Set up global key bindings. These always work, no matter the input state!
;; Keep in mind that changing this list after EXWM initializes has no effect. ;; Keep in mind that changing this list after EXWM initializes has no effect.
(setq exwm-input-global-keys (setq exwm-input-global-keys