commit a82cad065d36043ce009ed621651446312ecb77c
parent 33860184a6676360fb89c0b4343cc554de7ad587
Author: Anton Konyahin <me@konyahin.xyz>
Date: Wed, 5 Apr 2023 21:26:48 +0300
emacs: few help tweaks
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
@@ -4,6 +4,7 @@
(setq make-backup-files nil)
(setq auto-save-default nil)
+(setq help-window-select t)
;; abbrev mode
(setq-default abbrev-mode t)
@@ -64,6 +65,9 @@
(global-set-key (kbd "M-z") 'zap-up-to-char)
(global-set-key (kbd "M-SPC") 'cycle-spacing)
+(define-key help-mode-map (kbd "n") 'next-line)
+(define-key help-mode-map (kbd "p") 'previous-line)
+
(defun knh-new-line-below ()
"Insert new line below, without breaking current line"
(interactive)