diff options
-rw-r--r-- | emacs/custom/fcuny-navigation.el | 2 | ||||
-rw-r--r-- | emacs/custom/fcuny-ui.el | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-navigation.el b/emacs/custom/fcuny-navigation.el index 1a420ea..4f2541e 100644 --- a/emacs/custom/fcuny-navigation.el +++ b/emacs/custom/fcuny-navigation.el @@ -1,5 +1,7 @@ (require 'fcuny-vars) +(setq help-window-select t) + (use-package bookmark :custom (bookmark-default-file (expand-file-name "bookmarks" fcuny/path-emacs-var)) diff --git a/emacs/custom/fcuny-ui.el b/emacs/custom/fcuny-ui.el index 487ca3c..0bdc494 100644 --- a/emacs/custom/fcuny-ui.el +++ b/emacs/custom/fcuny-ui.el @@ -94,4 +94,14 @@ (use-package posframe :ensure t) +(setq display-buffer-alist + `( + ("\\*\\(.* # Help.*\\|Help\\)\\*" ; See the hooks for `visual-line-mode' + (display-buffer-reuse-mode-window display-buffer-in-side-window) + (window-width . 0.35) + (side . left) + (slot . 0)))) + +(add-hook 'help-mode-hook #'visual-line-mode) + (provide 'fcuny-ui) |