Use quit-window instead of bury-buffer
This commit is contained in:
parent
33cd6207f9
commit
5f63c40b97
@ -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
|
||||
|
@ -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: "
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user