Use quit-window instead of bury-buffer

This commit is contained in:
Jeremy Dormitzer 2024-06-13 13:49:10 -04:00
parent 33cd6207f9
commit 5f63c40b97
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
(use-package shell
:straight (:type built-in)
:general
(normal shell-mode-map "q" #'bury-buffer))
(normal shell-mode-map "q" #'quit-window))
(use-package ediff
:defer t

View File

@ -10,7 +10,7 @@
(buffer-file-name))))
(delete-file file)
(when (string-equal (buffer-file-name) file)
(bury-buffer)))
(quit-window)))
(defun rename-this-file (new-name)
(interactive (list (read-file-name "Rename file: "

View File

@ -21,7 +21,7 @@
(general-def kubectl-log-mode-map
"C-c k" #'kubectl--log-kill-process)
(general-def 'normal kubectl-log-mode-map
"q" #'bury-buffer)
"q" #'quit-window)
(general-def 'normal kubectl-pods-mode-map
"c" #'kubectl-choose-context
"s" #'kubectl-pods-choose-namespace