From 18bd186a0c19efa5910a6d7946b11a150b32b97a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 23 Apr 2021 21:52:23 +0200 Subject: window jumping --- config/doom/config.org | 23 ++++++----------------- config/doom/init.el | 2 +- 2 files changed, 7 insertions(+), 18 deletions(-) (limited to 'config') 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) diff --git a/config/doom/init.el b/config/doom/init.el index 1ee0a5b..60fcc50 100644 --- a/config/doom/init.el +++ b/config/doom/init.el @@ -47,7 +47,7 @@ ;;unicode ; extended unicode support for various languages vc-gutter ; vcs diff in the fringe vi-tilde-fringe ; fringe tildes to mark beyond EOB - ;;window-select ; visually switch windows + window-select ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces ;;zen ; distraction-free coding or writing -- cgit v1.2.3