diff options
author | Alan Pearce | 2019-06-17 11:57:41 +0200 |
---|---|---|
committer | Alan Pearce | 2019-06-17 11:57:41 +0200 |
commit | 3941abeb18f6f582bad1bf2f51deeb21cf829fb5 (patch) | |
tree | e609d7fe7c6cb795144bfeef4e1f55503ad72f5e | |
parent | 80f75b7b4c11e700dc0bf57fd779e973c0c3590f (diff) | |
download | nixfiles-3941abeb18f6f582bad1bf2f51deeb21cf829fb5.tar.lz nixfiles-3941abeb18f6f582bad1bf2f51deeb21cf829fb5.tar.zst nixfiles-3941abeb18f6f582bad1bf2f51deeb21cf829fb5.zip |
Emacs: fix window config
-rw-r--r-- | emacs/.emacs.d/main.el | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 131b8a92..d6971331 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -52,31 +52,6 @@ (setq frame-title-format (list "Emacs")) -;;; Windows - -(use-package eyebrowse - :after (evil) - :custom ((eyebrowse-new-workspace #'counsel-projectile-switch-project) - (eyebrowse-mode t)) - :general (evil-window-map - "0" #'eyebrowse-switch-to-window-config-0 - "1" #'eyebrowse-switch-to-window-config-1 - "2" #'eyebrowse-switch-to-window-config-2 - "3" #'eyebrowse-switch-to-window-config-3 - "4" #'eyebrowse-switch-to-window-config-4 - "5" #'eyebrowse-switch-to-window-config-5 - "6" #'eyebrowse-switch-to-window-config-6 - "7" #'eyebrowse-switch-to-window-config-7 - "8" #'eyebrowse-switch-to-window-config-8 - "9" #'eyebrowse-switch-to-window-config-9) - :ghook ('evil-after-load-hook #'eyebrowse-setup-evil-keys)) - -(use-package winner - :custom ((winner-boring-buffers '("*Completions*" "*Help*" "*Apropos*" "*Buffer List*" "*info*" "*Compile-Log*"))) - :general (:keymap evil-window-map - "u" #'winner-undo - "r" #'winner-redo - "C-r" #'winner-redo)) ;;; Dates & Times (custom-set-variables @@ -160,6 +135,31 @@ With two prefix arguments, write out the day and month name." (setq enable-recursive-minibuffers t) (minibuffer-depth-indicate-mode t) +;;; Windows + +(use-package eyebrowse + :after (evil) + :custom ((eyebrowse-new-workspace #'counsel-projectile-switch-project) + (eyebrowse-mode t)) + :general (:keymaps 'evil-window-map + "0" #'eyebrowse-switch-to-window-config-0 + "1" #'eyebrowse-switch-to-window-config-1 + "2" #'eyebrowse-switch-to-window-config-2 + "3" #'eyebrowse-switch-to-window-config-3 + "4" #'eyebrowse-switch-to-window-config-4 + "5" #'eyebrowse-switch-to-window-config-5 + "6" #'eyebrowse-switch-to-window-config-6 + "7" #'eyebrowse-switch-to-window-config-7 + "8" #'eyebrowse-switch-to-window-config-8 + "9" #'eyebrowse-switch-to-window-config-9) + :ghook ('evil-after-load-hook #'eyebrowse-setup-evil-keys)) + +(use-package winner + :custom ((winner-boring-buffers '("*Completions*" "*Help*" "*Apropos*" "*Buffer List*" "*info*" "*Compile-Log*"))) + :general (:keymaps 'evil-window-map + "u" #'winner-undo + "r" #'winner-redo + "C-r" #'winner-redo)) ;;; Evil (use-package evil |