Fork me on GitHub
#spacemacs
<
2020-02-28
>
erwinrooijakkers13:02:00

Wow so you can create multiple views

๐Ÿ‘ 8
erwinrooijakkers13:02:42

I donโ€™t know what it means exactly but I did SPC l 0 to create two named perspectives in different starting state

erwinrooijakkers13:02:04

Can switch between them via SPC l 1 and SPC l 2 or SPC l 0 and pick my named perspective

erwinrooijakkers13:02:17

So for working in multiple projects at once? And keeping the state separate?

aisamu14:02:02

The workspaces are contained within a layout, but there's nothing stopping you from having multiple projects per layout. I'm starting to create layouts per feature, because they usually involve code in 2+ different projects. SPC l w 1 will jump straight to 1, but you can also go backwards and forwards with g t & g T (workspaces within a layout). Renaming (`SPC w l R`) is also useful when you have lots of those. SPC b W should change to the buffer and switch to the workspace that contains it, but it doesn't work for me

aisamu15:02:06

Oops, important edit: SPC l 1 -> SPC l w 1

practicalli-johnny14:02:51

@erwinrooijakkers SPC l TAB switches to last layout, so makes it easy to toggle between two. Just the same as toggling between two buffers with SPC TAB

practicalli-johnny14:02:03

SPC l l selects a layout by name, or create a named layout of that name does not exist. I find it useful for selection when I have more than 10 layouts (which I often do)

Mario C.20:02:51

@aisamu It's exactly what I was looking for! ๐Ÿ™Œ

๐ŸŽ‰ 4