aboutsummaryrefslogtreecommitdiffstats
path: root/config/doom/config.org
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2021-04-23 21:52:23 +0200
committerÓscar Nájera <hi@oscarnajera.com>2021-04-23 21:52:23 +0200
commit18bd186a0c19efa5910a6d7946b11a150b32b97a (patch)
tree7dd5c470704fb4268b701666919eb1a64e90e4ce /config/doom/config.org
parentc1d57171119abf27792c5a4fad2f8f86458007de (diff)
downloaddotfiles-18bd186a0c19efa5910a6d7946b11a150b32b97a.tar.gz
dotfiles-18bd186a0c19efa5910a6d7946b11a150b32b97a.tar.bz2
dotfiles-18bd186a0c19efa5910a6d7946b11a150b32b97a.zip
window jumping
Diffstat (limited to 'config/doom/config.org')
-rw-r--r--config/doom/config.org23
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)