Function kill-current-buffer is too chatty
This commit is contained in:
parent
fd58f69a49
commit
ba3c1a1dc7
@ -352,7 +352,7 @@
|
||||
|
||||
(map!
|
||||
"C-M-\\" #'+x/indent-region-or-buffer
|
||||
"C-x k" #'kill-current-buffer
|
||||
"C-x k" #'+x/kill-buffer
|
||||
"C-<" #'+x/scroll-down-one
|
||||
"C->" #'+x/scroll-up-one
|
||||
"M-Q" #'+x/unfill-paragraph
|
||||
|
@ -11,6 +11,12 @@
|
||||
(indent-region (region-beginning) (region-end))
|
||||
(indent-region (point-min) (point-max))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +x/kill-buffer ()
|
||||
"Kill current buffer without prompting for which buffer."
|
||||
(interactive)
|
||||
(kill-buffer))
|
||||
|
||||
;;;###autoload
|
||||
(defun +x/scroll-down-one ()
|
||||
"Scroll text (but not the point) of selected window downward one line."
|
||||
|
Loading…
Reference in New Issue
Block a user