Bind SPC q K to save-buffers-kill-emacs
A keybind for killing Emacs and the daemon in one go. The doom slayer would be proud.
This commit is contained in:
parent
daee52d358
commit
a3fc43adfe
1 changed files with 3 additions and 2 deletions
|
@ -788,8 +788,9 @@
|
||||||
:desc "List project tasks" "t" #'+default/project-tasks
|
:desc "List project tasks" "t" #'+default/project-tasks
|
||||||
:desc "Test project" "T" #'projectile-test-project)
|
:desc "Test project" "T" #'projectile-test-project)
|
||||||
|
|
||||||
;;; <leader> q --- session
|
;;; <leader> q --- quit/session
|
||||||
(:prefix-map ("q" . "session")
|
(:prefix-map ("q" . "quit/session")
|
||||||
|
:desc "Kill Emacs (and daemon)" "K" #'save-buffers-kill-emacs
|
||||||
:desc "Quit Emacs" "q" #'save-buffers-kill-terminal
|
:desc "Quit Emacs" "q" #'save-buffers-kill-terminal
|
||||||
:desc "Quit Emacs without saving" "Q" #'evil-quit-all-with-error-code
|
:desc "Quit Emacs without saving" "Q" #'evil-quit-all-with-error-code
|
||||||
:desc "Quick save current session" "s" #'doom/quicksave-session
|
:desc "Quick save current session" "s" #'doom/quicksave-session
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue