Skip to content
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
Closed

Pane ordering #15

benohara opened this issue Nov 9, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@benohara
Copy link

@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
Copy link
Member

@tony 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
Copy link
Member

@tony 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
Copy link
Member

@tony 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants