New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pane ordering #15

Closed
benohara opened this Issue Nov 9, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@benohara

benohara commented Nov 9, 2013

I've got a setup with 4 or 6 panes, works fine, however the orderings not what id expect (not the same as 4 panes on tmuxinator)

Id expect

pane1   pane2
pane3   pane4
pane5   pane6
..          ..

It seems to work if you reorder the panes lists in the yaml, but in normal order, ie

panes:

  • echo 1
  • echo 2
  • echo 3
  • echo 4

you get

1 4
3 2

I have base-index and pane-base-index set to 1, but seems the same without...

Am i missing something?

@tony

This comment has been minimized.

Member

tony commented Nov 9, 2013

@benohara You're not. Tmuxp is.

Are you using a layout for this window?

Can you try configuring a tmux session by hand, then tmuxp freezing it? Does this preserve order for you?

@tony

This comment has been minimized.

Member

tony commented Nov 9, 2013

This is going to be the next area tmuxp touches. WorkspaceBulider.iter_create_panes() (link) splits the window blindly - in cases where a layout exists - it will split_window then select_layout.. I have to investigate if different layout types require a different splitting order.

@ghost ghost assigned tony Nov 11, 2013

@tony

This comment has been minimized.

Member

tony commented Nov 17, 2013

Roadmap has been updated, this is the last remaining thing to complete for 0.1.

http://tmuxp.readthedocs.org/en/latest/roadmap.html

@tony tony closed this in 5dc959c Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

tony added a commit that referenced this issue Nov 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment