diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-23 17:15:03 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-23 17:15:03 +0100 |
commit | 78efa7822094d9b318f9fe487e039949bafa8ce0 (patch) | |
tree | aa40780083d2fa99d3792e2a4c55d93cd6b83a90 /Emacs/.config/emacs/config.org | |
parent | d8afe4c9d0b9971048e8e170782dd898e67bc5c0 (diff) | |
download | dotfiles-78efa7822094d9b318f9fe487e039949bafa8ce0.tar.gz dotfiles-78efa7822094d9b318f9fe487e039949bafa8ce0.tar.bz2 dotfiles-78efa7822094d9b318f9fe487e039949bafa8ce0.zip |
~evil-define -> general
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 62057d9..b35cc82 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -282,17 +282,22 @@ leader-map at "SPC". #+begin_src emacs-lisp (use-package evil :hook (after-init-hook . evil-mode) + :general + (general-def + :states 'normal + [remap evil-window-vsplit] #'make-frame + "TAB" #'evil-jump-item) + (general-def + :states 'visual + :keymaps 'emacs-lisp-mode-map + "gr" #'eval-region) + (leader + "w" #'evil-window-map + "wd" #'delete-frame) :init (setq evil-want-keybinding nil evil-split-window-below t - evil-vsplit-window-right t) - :config - (evil-define-key 'normal global-map - "TAB" #'evil-jump-item) - (evil-define-key 'visual 'emacs-lisp-mode-map "gr" #'eval-region) - (leader - "w" #'evil-window-map - "wd" #'evil-window-delete)) + evil-vsplit-window-right t)) #+end_src *** Evil surround #+begin_src emacs-lisp |