From b97d9f0cd41aca774fd181f51caed64def102b99 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 10 May 2022 12:43:37 +0300 Subject: [PATCH] Remove `helpful' package for the time being --- .emacs.d/esy.org | 45 ++++++++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/.emacs.d/esy.org b/.emacs.d/esy.org index 48e198f..e1e5c39 100644 --- a/.emacs.d/esy.org +++ b/.emacs.d/esy.org @@ -117,7 +117,7 @@ For further information about Elisp headers, see [[info:elisp#Library expand-region flymake-swi-prolog fullframe ggtags git-blamed git-timemachine gitconfig-mode gitignore-mode gnu-elpa-keyring-update gnuplot gnuplot-mode go-mode - graphviz-dot-mode helpful highlight-escape-sequences htmlize + graphviz-dot-mode highlight-escape-sequences htmlize ialign keyfreq keycast iedit lin list-unicode-display lorem-ipsum magit-todos marginalia move-dup no-littering ns-auto-titlebar ob-prolog orderless org-superstar paredit @@ -315,6 +315,18 @@ For a list of available frame parameters, see [[info:elisp#Frame Parameters][eli (keymap-unset org-mode-map "C-," t)) #+end_src +** Refile targets + +By default, =org-refile= considers only top level heading to be +candidates for refiling into, we set =org-refile-targets= to allow +refiling directly into deeper headings as well. + +#+begin_src emacs-lisp + (with-eval-after-load 'org-refile + (setq org-refile-targets '((nil . (:maxlevel . 3))) + org-refile-use-outline-path t)) +#+end_src + ** Interactively fill missing CUSTOM_ID properties :PROPERTIES: :CUSTOM_ID: orgs-custom-ids @@ -793,24 +805,6 @@ For a list of available frame parameters, see [[info:elisp#Frame Parameters][eli (add-hook 'after-init-hook #'esy/customize-ctl-x-map) #+end_src -** =C-h= keybindings -:PROPERTIES: -:CUSTOM_ID: c-h-keybindings -:END: - -#+begin_src emacs-lisp - (defun esy/customize-help-map () - "Configure the `help-map' keymap." - (require 'helpful) - (keymap-set help-map "f" #'helpful-callable) - (keymap-set help-map "v" #'helpful-variable) - (keymap-set help-map "k" #'helpful-key) - (keymap-set help-map "o" #'helpful-symbol) - (keymap-set help-map "x" #'helpful-command)) - - (add-hook 'after-init-hook #'esy/customize-help-map) -#+end_src - ** =ace-window= homerow keys :PROPERTIES: :CUSTOM_ID: ace-window @@ -893,6 +887,19 @@ the prior submitted URLs and web search keywords. 'eww-prompt-history (car (eww-suggested-uris))))) #+end_src +*** Use =eww= as the default web browser +:PROPERTIES: +:CUSTOM_ID: eww-browse-url-browser-function +:CreatedAt: <2022-05-09 Mon> +:CapturedAt: [[file:~/checkouts/emacs/nextstep/Emacs.app/Contents/Resources/lisp/net/browse-url.el.gz::setq browse-url-browser-function 'browse-url-w3]] +:CapturedAs: Emacs configuration fragment +:END: + +#+begin_src emacs-lisp + (with-eval-after-load 'browse-url + (setq browse-url-browser-function #'eww-browse-url)) +#+end_src + ** Proced :PROPERTIES: :CUSTOM_ID: proced-auto-update -- 2.39.2