aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org21
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