diff options
Diffstat (limited to 'config/doom/config.org')
-rw-r--r-- | config/doom/config.org | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/config/doom/config.org b/config/doom/config.org index 97a5a07..40a6294 100644 --- a/config/doom/config.org +++ b/config/doom/config.org @@ -37,6 +37,11 @@ This allows me to jump to buffer positions using my home row ordering (after! avy (setq avy-keys '(?r ?t ?i ?e ?a ?o ?n ?s))) #+end_src +** Ace window +#+begin_src emacs-lisp +(after! ace-window + (setq aw-keys '(?r ?t ?i ?e ?a ?o ?n ?s))) +#+end_src ** Which-key Because I always need help and it should come up quickly #+begin_src emacs-lisp @@ -51,23 +56,7 @@ Shamelessly copied from https://tecosaur.github.io/emacs-config/#dictionary (use-package! lexic :commands lexic-search lexic-list-dictionary :config - (map! :map lexic-mode-map - :n "q" #'lexic-return-from-lexic - :nv "RET" #'lexic-search-word-at-point - :n "a" #'outline-show-all - :n "h" (cmd! (outline-hide-sublevels 3)) - :n "o" #'lexic-toggle-entry - :n "n" #'lexic-next-entry - :n "N" (cmd! (lexic-next-entry t)) - :n "p" #'lexic-previous-entry - :n "P" (cmd! (lexic-previous-entry t)) - :n "E" (cmd! (lexic-return-from-lexic) ; expand - (switch-to-buffer (lexic-get-buffer))) - :n "M" (cmd! (lexic-return-from-lexic) ; minimise - (lexic-goto-lexic)) - :n "C-p" #'lexic-search-history-backwards - :n "C-n" #'lexic-search-history-forwards - :n "/" (cmd! (call-interactively #'lexic-search)))) + (set-evil-initial-state! 'lexic-mode 'emacs)) #+end_src #+begin_src emacs-lisp (defadvice! +lookup/dictionary-definition-lexic (identifier &optional arg) |