Compare commits
3 commits
8c4b9c4663
...
eaf4ebbfad
Author | SHA1 | Date | |
---|---|---|---|
|
eaf4ebbfad | ||
|
ddc0505537 | ||
|
6743a23644 |
1 changed files with 7 additions and 20 deletions
|
@ -135,8 +135,6 @@ Tangle ~packages.el~ from within org-mode.
|
|||
(package! bhankas
|
||||
:recipe (:local-repo "~/git/bhankas.el"))
|
||||
|
||||
(package! hyperbole)
|
||||
|
||||
(package! org-wild-notifier)
|
||||
|
||||
(package! modus-themes)
|
||||
|
@ -381,20 +379,13 @@ As such, relying on imperative config evaluation can turn into gotchas. While th
|
|||
:init
|
||||
(require 'ffap)
|
||||
(setq! org-fold-core-style 'overlays)
|
||||
(defun bhankas-org-agenda-limit-indirect-max (og-fun &rest args)
|
||||
(setq bhankas-fit-buffer-limit-max t)
|
||||
(apply og-fun args)
|
||||
(makunbound bhankas-fit-buffer-limit-max))
|
||||
|
||||
(defun bhankas-org-agenda-limit-indirect-buffer (og-fun &rest args)
|
||||
(when (boundp 'bhankas-fit-buffer-limit-max)
|
||||
(setq args (append args '(20))))
|
||||
(apply og-fun args))
|
||||
:config
|
||||
(map!
|
||||
:map org-mode-map
|
||||
:after (consult org)
|
||||
:desc "imenu" :g "C-'" #'consult-imenu)
|
||||
(keymap-unset org-mode-map "C-'")
|
||||
(keymap-unset org-mode-map "C-,")
|
||||
(setq! org-directory global-org-directory
|
||||
org-archive-location (concat org-directory "archive/%s_archive::")
|
||||
org-archive-subtree-add-inherited-tags t
|
||||
|
@ -1015,19 +1006,15 @@ When Emacs is opened in Windows Subsystem for Linux, open web links in Firefox o
|
|||
(tab-bar-mode 1))
|
||||
#+end_src
|
||||
|
||||
** Hyperbole
|
||||
- Rebind default hyperbole entry so it doesn't conflict with Gnus.
|
||||
- I would have had been fine with letting it have ~M-RET~, but the alternate keybinding it defaults to is just bad.
|
||||
- The one configured now (~C-SPC C-SPC~) isn't really best, but it will have to do.
|
||||
** Embark
|
||||
#+begin_src emacs-lisp :lexical t
|
||||
(use-package! hyperbole
|
||||
:commands (hyperbole-mode hkey-either)
|
||||
(use-package! embark
|
||||
:commands (embark-act embark-dwim)
|
||||
:init
|
||||
(map! :map global-map
|
||||
"C-." #'embark-act
|
||||
:leader
|
||||
:desc "Hyperbole" "C-SPC" #'hkey-either)
|
||||
:config
|
||||
(hyperbole-mode 1))
|
||||
:desc "Embark" "C-SPC" #'embark-dwim))
|
||||
#+end_src
|
||||
|
||||
** Yasnippet
|
||||
|
|
Reference in a new issue