summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/init.el b/init.el index 10f39c7..6cb9593 100644 --- a/init.el +++ b/init.el
@@ -1140,11 +1140,21 @@ successive invocations."
1140 (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode)))) 1140 (add-to-list 'auto-mode-alist '("\\.fb\\'" . forth-block-mode))))
1141 1141
1142(setup (:straight helpful) 1142(setup (:straight helpful)
1143 (:option helpful-max-buffers 5
1144 ;;helpful-switch-buffer-function #'pop-to-buffer
1145 helpful-switch-buffer-function
1146 (lambda (buf)
1147 (pop-to-buffer buf
1148 '((display-buffer-reuse-mode-window
1149 display-buffer-pop-up-window)
1150 (mode . helpful-mode))
1151 :norecord)))
1143 (:global "<help> f" helpful-callable 1152 (:global "<help> f" helpful-callable
1144 "<help> v" helpful-variable 1153 "<help> v" helpful-variable
1145 "<help> k" helpful-key 1154 "<help> k" helpful-key
1146 "<help> o" helpful-symbol 1155 "<help> o" helpful-symbol
1147 "C-c C-d" helpful-at-point)) 1156 "C-c C-d" helpful-at-point)
1157 (:bind "q" kill-buffer-and-window))
1148 1158
1149(setup (:straight iscroll) 1159(setup (:straight iscroll)
1150 (:hook-into text-mode)) 1160 (:hook-into text-mode))