all repos — archive/dotfiles @ a25863baab734e3ec7e9957823196158fc944281

Superseded by nixfiles

Emacs: Install and configure eyebrowse
Alan Pearce alan@alanpearce.uk
Thu, 04 May 2017 13:20:01 +0200
commit

a25863baab734e3ec7e9957823196158fc944281

parent

e4afa65a2fa90ba330b03f34e21cafa0b12b877b

1 files changed, 21 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -906,6 +906,27 @@ (if (boundp 'ns-pop-up-frames)     (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.