|
|
@ -678,6 +678,12 @@ Functions that only use built-in Emacs functionality. |
|
|
|
(when symbol |
|
|
|
(when symbol |
|
|
|
(describe-symbol symbol)))) |
|
|
|
(describe-symbol symbol)))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defun dot/indent-buffer () |
|
|
|
|
|
|
|
"Indent each nonblank line in the buffer." |
|
|
|
|
|
|
|
(interactive) |
|
|
|
|
|
|
|
(save-excursion |
|
|
|
|
|
|
|
(indent-region (point-min) (point-max) nil))) |
|
|
|
|
|
|
|
|
|
|
|
(defun split-follow-horizontally () |
|
|
|
(defun split-follow-horizontally () |
|
|
|
"Split and follow window." |
|
|
|
"Split and follow window." |
|
|
|
(interactive) |
|
|
|
(interactive) |
|
|
@ -1066,6 +1072,7 @@ General.el ~leader key binds. |
|
|
|
|
|
|
|
|
|
|
|
;; Reformat region |
|
|
|
;; Reformat region |
|
|
|
"r" '(:ignore t :which-key "region") |
|
|
|
"r" '(:ignore t :which-key "region") |
|
|
|
|
|
|
|
"r b" '(dot/indent-buffer :which-key "Indent buffer") |
|
|
|
"r r" '(indent-region :which-key "Indent region") |
|
|
|
"r r" '(indent-region :which-key "Indent region") |
|
|
|
|
|
|
|
|
|
|
|
;; Search |
|
|
|
;; Search |
|
|
|