Reliable method for numbering Tmux panes -


i trying create complicated layout. i've found following commands @ shell produce layout want:

tmux split-window -t 0 -h                                                                                                                                                                                                                                                        tmux resize-pane  -t 0 -x $((80*2+1))                                                                                                                                                                                                                                            tmux split-window -t 0 -v                                                                                                                                                                                                                                                        tmux resize-pane  -t 1 -y 24                                                                                                                                                                                                                                                     tmux split-window -t 1 -h                                                                                                                                                                                                                                                        tmux split-window -t 3 -v 

however, had figure out pane numbering empherically don't remain constant. after second split-window, pane 1 pane 2, example. if keep panes consistent duration of life, better reason out should be. furthermore, , far more frustrating, same commands in shell script don't produce same layout seems panes numbered differently when run shell prompt.

is there way keep consistent pane numbering in tmux?

better yet, there way give panes name?

edit: found if select-pane -t 0 after each step, produce same layout when entering them in hand 1 pane. surely, there has better way?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -