Commit graph

48 commits

Author SHA1 Message Date
Christian E. Hopps 2b99909491 also exit layout selection on number key
Match workspace exit behavior with layouts
2016-03-01 18:49:21 +01:00
Diego Berrocal 71d48e0952 Exit layout transient state on select custom layout
This was asked for in the gitter chat. I thought at first it would be
great for when people wanted to open many perspectives at the same time,
but now I don't think the same. It'd be very hard to modify the macro
for adding custom layouts to make this argument optional, so I leave it
at @syl20bnr discretion.
2016-02-27 14:58:15 +01:00
justbur d0cec17919 ivy: spacemacs layouts support
- port helm-perspectives
- port persp switch buffer
- port persp-close[kill]-other to use ivy
- layouts-ts: Make help more consistent
- layouts-ts: Reorganize docstring
Instead of one big list, try to organize into sections to make it easier
to find the right key
2016-02-16 23:55:23 -05:00
syl20bnr f0e113391c Fix docstring for layout transient state 2016-02-15 00:07:46 -05:00
syl20bnr 5ac51287cd Replace close words by delete in documentation 2016-02-14 23:11:52 -05:00
Robert O'Connor 4348c17433 Switch “bc”->“bd” and “wc”->“wd”
Also:
- switch spacemacs layouts to the same.
- Add “wD” for ace-delete-window
- switch window dedication toggle to “wt”
- all documentation has been updated to reflect these changes

Closes #5031
2016-02-14 23:09:45 -05:00
Fabien Dubosson 24f0e8cc4b Restart Spacemacs restoring layouts
Fix #5058
2016-02-14 20:59:05 -05:00
Bar e1ddc75024 Switch project layout: rename buffer
Rename "*Projectile Layouts*" to start with "*Helm" like the other helm buffers.
2016-02-07 14:52:47 +01:00
justbur b149f4e13a transient-state: new dotspacemacs variable to hide titles
dotspacemacs-show-transient-state-title
2016-01-31 23:50:10 -05:00
justbur be077294c1 layouts: Use :additional-docs option for transient state 2016-01-31 23:49:44 -05:00
justbur 3a810b43a2 layouts-ts: Temp fix for dynamic docstring 2016-01-31 23:48:18 -05:00
bmag 407f98a1c8 Ensure new workspace/layout only shows home buffer
Previous code would show two windows when invoked from a window that is
dedicated to its buffer: the home buffer and the dedicated buffer.
2016-01-31 23:19:39 -05:00
Balaji Sivaraman 2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
Diego Berrocal f386cbc801 Let SPC TAB work only in the current buffer 2016-01-31 11:11:26 -05:00
Diego Berrocal fbcfe42605 Allow perspectives to change buffer-list 2016-01-31 11:08:47 -05:00
Diego Berrocal 8239c950f9 [layouts] Remove warnings for repeated bindings
This fixes:
1. Repeated bindings
2016-01-31 11:08:47 -05:00
Eivind Fonn 72e1413e22 Fix workspaces transient state 2016-01-26 12:16:54 +01:00
bmag 26cda7ef12 Fix transient workspace tags
Switching between layouts didn't save the tag of any (eyebrowse)
workspace, resulting in transient workspace tags.  This fixes it so tags
are saved correctly.
2016-01-26 01:21:02 -05:00
justbur e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur d38d64dad7 layouts: Translate layouts micro-states 2016-01-26 01:21:00 -05:00
Joris Engbers c5166bc155 Update the documentation for spacemacs-layouts
Two specific issues have been addressed. In README.org there was no
mention of the workspaces micro-state.
The micro-state documentation erroneously stated that 'R' could be used
to create a new layout. 'l' was mentioned nowhere as the way to create a
new layout.

The rest of this commit only updates both docs to contain the same info.
2016-01-18 00:34:57 -05:00
syl20bnr 046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
justbur e4b865d88f ivy: Move persp keybindings out of projectile init
Now in post-init functions in the spacemacs-layout layer

Cleans up f74fbc6baba044b559917f6b15cb6f91934cdeee
2016-01-09 13:36:03 -05:00
Alexandr Skurikhin c7008108f5 Add ivy-persp-switch-project 2016-01-09 13:36:03 -05:00
Eivind Fonn c034acaa4b Fix jumping to nil perspectives 2016-01-06 23:35:01 -05:00
syl20bnr cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Muneeb Shaikh 1d79589e7c layout: make layout name shorter in microstate line
If layout name is long path, it takes up too much space.
2016-01-03 22:23:13 -05:00
Eivind Fonn 208b1ca158 Fix layouts TAB behavior 2016-01-03 15:49:00 +01:00
Eivind Fonn 4ccc4f9f13 Remove custom persp segment
Ported to Spaceline
2015-12-15 00:18:54 -05:00
syl20bnr da2a7b8729 spacemacs-layout: temporary switch to a fork of persp-mode
Waiting for PR https://github.com/Bad-ptr/persp-mode.el/pull/25
to be merged or a proper fix.
2015-12-11 01:04:09 -05:00
syl20bnr eb7ca651fe spacemacs-layout: simplify spacemacs/helm-perspectives
Also reindent some sexps.
2015-12-09 00:48:58 -05:00
Muneeb Shaikh 7b931a9f5b Switch to Spacemacs Home on creating *new* layout 2015-12-09 00:45:22 -05:00
Muneeb Shaikh d18a6e1d2e layouts: add go to default layout functionality 2015-12-07 19:29:56 +01:00
Eivind Fonn 8d3164f8ca Eyebrowse layer keybinding refactoring
- Move eyebrowse microstate to SPC l w
- Make eyebrowse microstate accessible from perspective microstate
- Change eyebrowse helm key to SPC l w w
2015-12-06 01:42:40 -05:00
Bar Magal b905cb5d91 Make eyebrowse workspaces local to perspective
Integrates persp-mode and eyebrowse, so each perspective has its own set
of eyebrowse workspaces.
2015-12-06 01:40:23 -05:00
Eivind Fonn c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
Jaakko Luttinen 86aa4da4c4 Add key binding for saving perpectives by names 2015-11-23 20:01:22 +01:00
Adam Olsen bc82ec0bec Fix layout-switch-by-pos
Now it resets the window layout if there isn't already a perspective
loaded for that position.

Fixes #3774
2015-11-14 00:26:24 -05:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
jason b67cd298c4 Update layers README.org to include projects 2015-11-13 13:39:19 +01:00
syl20bnr fde6c60bae layouts: fixes reset of layout upon creation of new layouts
with SPC l l and SPC p l

Fixes #3740
2015-11-11 01:20:18 -05:00
syl20bnr 9290acf058 layouts: new variable dotspacemacs-auto-resume-layouts
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).

Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr 4004f8d383 layouts: split dotspacemacs-default-layout-name into 2 variables
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr 3ff39f10e4 layouts: move SPC l p to SPC p l and bind SPC p to previous layout 2015-11-10 23:39:21 -05:00
Boris c4b8767006 fix typo in spacemacs-layouts readme 2015-11-09 18:43:50 +01:00
Muneeb Shaikh 6b3e82d2d9 Allow customization of the default layout name in mode-line
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
syl20bnr 6541877a83 layouts: remove q key binding in custom layouts micro-state 2015-11-09 00:36:15 -05:00
syl20bnr b1fb37cef1 perspectives: rename layer to "spacemacs-layout" 2015-11-09 00:36:13 -05:00