summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-05-04 13:20:01 +0200
committerAlan Pearce2017-05-04 13:20:01 +0200
commita25863baab734e3ec7e9957823196158fc944281 (patch)
tree04daa665926ca29b0647e9f93f676af4b5491ca0 /emacs
parente4afa65a2fa90ba330b03f34e21cafa0b12b877b (diff)
downloadnixfiles-a25863baab734e3ec7e9957823196158fc944281.tar.lz
nixfiles-a25863baab734e3ec7e9957823196158fc944281.tar.zst
nixfiles-a25863baab734e3ec7e9957823196158fc944281.zip
Emacs: Install and configure eyebrowse
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 72db3f1f..786411bc 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -906,6 +906,27 @@ point whilst I’m moving about.
     (setq ns-pop-up-frames nil))
 #+END_SRC
 
+** eyebrowse
+
+Workspaces, a bit like dwm.
+
+#+BEGIN_SRC emacs-lisp
+(use-package eyebrowse
+  :bind (("s-0" . eyebrowse-switch-to-window-config-0)
+         ("s-1" . eyebrowse-switch-to-window-config-1)
+         ("s-2" . eyebrowse-switch-to-window-config-2)
+         ("s-3" . eyebrowse-switch-to-window-config-3)
+         ("s-4" . eyebrowse-switch-to-window-config-4)
+         ("s-5" . eyebrowse-switch-to-window-config-5)
+         ("s-6" . eyebrowse-switch-to-window-config-6)
+         ("s-7" . eyebrowse-switch-to-window-config-7)
+         ("s-8" . eyebrowse-switch-to-window-config-8)
+         ("s-9" . eyebrowse-switch-to-window-config-9))
+  :config (progn
+            (setq eyebrowse-new-workspace t)
+            (eyebrowse-mode +1)))
+#+END_SRC
+
 ** winner
 
 Undo, for window-based commands.