spacemacs/contrib/!window-management/eyebrowse
syl20bnr e410812d59 New macro dotspacemacs|symbol-value and improved diminish
Now it is possible to have unicode symbols in GUI and not in
terminal using emacsclient

Do to so, dotspacemacs-mode-line-unicode-symbols must be set to
the symbol 'display-graphic-p which will be lazily evaluated
via the macro dotspacemacs|symbol-value

This is especially useful for users having troubles with unicode
characters in their terminal but wants to use them in GUI client.
2015-08-14 12:25:54 -04:00
..
img Prefix categories with ! 2015-05-25 00:50:38 -04:00
config.el Prefix categories with ! 2015-05-25 00:50:38 -04:00
packages.el New macro dotspacemacs|symbol-value and improved diminish 2015-08-14 12:25:54 -04:00
README.org eyebrowse layer: make gt gT work in motion state 2015-08-13 23:13:51 -04:00

Eyebrowse contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/91057d5986e297d4e7459228d75a8d7d12122d3d/contrib/!window-management/eyebrowse/img/eyebrowse.gif /TakeV/spacemacs/media/commit/91057d5986e297d4e7459228d75a8d7d12122d3d/contrib/!window-management/eyebrowse/img/i3wm.png

Description

This layer adds i3wm like workspaces thanks to the eyebrowse package.

Once the layer is activated a new number is added to the right side of the mode-line. This number corresponds to the currently active workspace number.

At startup, the workspace number 1 is active. Switching to a workspace will create it if it does not exist. For instance at startup you can press SPC W 2 to create the workspace 2.

The key bindings are registered in a micro-state displayed in the minibuffer. The docstring of the micro-state displays the existing workspaces and the currently active workspace has square brackets. Since this is a micro-state it is possible to just preview a workspace, for instance press SPC W 2 to see what's on the workspace 2 then press TAB to go back to the previously activated workspace.

It is also possible to give a label to a the current workspace by pressing r in the micro-state.

Install

Layer

To use this contribution add it to your ~/.spacemacs

(setq-default dotspacemacs-configuration-layers '(eyebrowse))

Removing additional help

Once you know the key bindings to navigate between the workspaces you may want to disable the exhaustive help in the workspace micro-state. Set the variable eyebrowse-display-help to nil

  (setq-default dotspacemacs-configuration-layers
    '((eyebrowse :variables eyebrowse-display-help nil)))

Key bindings

Key Binding Description
gt go to next workspace
gT got to previous workspace
SPC W 1 create or switch to workspace 1
SPC W 2 create or switch to workspace 2
SPC W 3 create or switch to workspace 3
SPC W 4 create or switch to workspace 4
SPC W 5 create or switch to workspace 5
SPC W 6 create or switch to workspace 6
SPC W 7 create or switch to workspace 7
SPC W 8 create or switch to workspace 8
SPC W 9 create or switch to workspace 9
SPC W 0 create or switch to workspace 0
SPC W TAB switch to last active workspace
SPC W c close current workspace
SPC W n switch to next workspace
SPC W N or SPC W p create or switch to workspace 0
SPC W r set a tag to the current workspace
SPC W s switched to tagged workspace