4972855231
Eyebrowse stores window configurations for workspaces in frame properties. These window configurations reference buffers by name, which means that these references must be updated when a buffer is renamed. To this end, eyebrowse advises rename-buffer. Spacemacs integrates eyebrowse with persp-mode by saving the eyebrowse workspaces for a perspective as a parameter for that perspective so that Spacemacs can restore a perspective's workspaces when switching to that perspective. However, eyebrowse's advice for rename-buffer fails to update inactive workspaces, for which the window configurations are stored in perspective parameters and not frame properties. This commit disables eyebrowse's advice and adds perspective-aware advice to update buffer references in workspace window configurations. * layers/+spacemacs/spacemacs-layouts/funcs.el (spacemacs//fixup-window-configs): New. * layers/+spacemacs/spacemacs-layouts/packages.el (spacemacs-layouts/init-eyebrowse): Remove eyebrowse-fixup-window-configs advice for rename-buffer and advise with spacemacs//fixup-window-configs instead. |
||
---|---|---|
.. | ||
config.el | ||
funcs.el | ||
packages.el | ||
README.org |
spacemacs-layouts layer
Description
This layer adds support for distinct layouts/workspaces to Spacemacs.
Features:
- Support for distinct layouts via
eyebrowse
- Integration with
helm
andivy
to search for buffers within layouts