Manage complex tmux sessions easily
Questions tagged [tmuxinator]
66 questions
107
votes
1 answer
Specify pane percentage in tmuxinator project
How can I specify a pane percentage in tmuxinator ?
Eg:
project_name: ad_dev
project_root: ~/Programming/WWW/Rails/projects/ApparelDreamDev
rvm: ruby-1.9.2-p290@apparel_dev
pre: SQL
tabs:
- editor:
layout: main-vertical
panes:
…

Goles
- 11,599
- 22
- 79
- 140
106
votes
9 answers
Switch between sessions in tmux?
I'm relatively new to tmux and use it just for local development. In some tmux tutorials, a person will list out their tmux sessions in an enumerated list. There is yellow highlight typically. Does anyone know what I'm talking about and how to do…

iamnotsam
- 9,470
- 7
- 33
- 30
22
votes
3 answers
How to save tmux session to tmuxinator project?
I'm a tmux user and a fan of tmuxinator because it lets me get back to a baseline tmux session setup with ease.
However, I find that my setup changes on a regular basis, and editing my tmuxinator setup by hand can become tedious.
Is there a way to…

user456584
- 86,427
- 15
- 75
- 107
16
votes
1 answer
iTerm2 to attach to tmux session using tabs instead of windows?
I got tmuxinator to work with iTerm2 the following: https://stackoverflow.com/a/19747819/1009332
However, each tab initially opens in a different window. Is there any way to attach to an existing tmux session using tabs rather than new…

justingordon
- 12,553
- 12
- 72
- 116
16
votes
4 answers
Multiple tabs with tmux / tmuxinator and iTerm2
I would like to open all my useful stuff like here in iTerm2:
Not like this:
I'm using tmuxinator I've defined some tabs. I wonder if it's possible to get the former behaviour at all.

Tomek Wałkuski
- 989
- 12
- 22
14
votes
3 answers
tmuxinator initialize pane with multiple commands
I am using Tmuxinator, and I was wondering is there anyway to initialize a Tmux pane using multiple commands?
Example
panes:
- vim
- workon project #activate virtualenv and ..
./manage.py runserver #run sever

amdorra
- 1,536
- 9
- 18
9
votes
2 answers
How to set pane titles with tmuxinator
How do you set a unique title on each pane in a tmuxinator session?
I'm trying to run multiple panes to show the output from htop being run through ssh to different servers. My configuration looks like:
project_name: Server Monitor
windows:
-…

Cerin
- 60,957
- 96
- 316
- 522
9
votes
1 answer
Is it possible to specify multiple commands in `tmuxinator`'s `pre_window`?
In tmuxinator config files, you can specify that multiple commands should be run in a single shell, e.g.:
windows:
- logs:
- cd ~/project/log
- tail -f db.log
Can you do the same with pre_window? The following things have not…

Jim Witschey
- 285
- 2
- 16
7
votes
2 answers
Opening sublime text 3 from a tmux session opens an empty file?
Whenever I try to open any file from the terminal using sublime, for example: subl ~/.zshrc, it works fine BUT when I try to do the same thing from inside of a tmux session I get an empty blank file.
I saw many people asking related questions and…

Mahmoud Zalt
- 30,478
- 7
- 87
- 83
7
votes
2 answers
Automatically closing processes when quitting tmux
I'm using tmux with tmuxinator to configure it. I always have different panes open, with two or more editor sessions open and other stuff. Every time I have to close the whole tmux session, because I'm turning off the computer, it takes time,…

Carlo
- 4,016
- 7
- 44
- 65
6
votes
0 answers
tmux homebrew C-B prefix not working on macosx
I am new to tmux. I use screen for remote session. After reading a few tutorials online I am very surprise. So I want to give it a try as tmux is easier to use and more customizable for me as a developer.
I am on macosx sierra and install tmux via…

channa ly
- 9,479
- 14
- 53
- 86
6
votes
1 answer
How to start two or more tmux (or tmuxinator) sessions simultaneously?
I'm a huge fan of tmux + tmuxinator. Buy recently I found myself working with different sessions, and despite I configured'em with tmuxinator, I still need to open one at a time every day.
Is there a way to open two or more sessions at once so I can…

Amet Alvirde
- 1,453
- 3
- 13
- 22
6
votes
4 answers
tmux: how to open file under cursor
i am a vim user and got used to the gf command, which opens the file under the cursor.
Now i wanted to ask, if there is something like that for tmux.
I can navigate through a tmux-pane and it happens often that there is a file-path under the cursor.…

divramod
- 1,454
- 2
- 20
- 35
5
votes
1 answer
Can I pass a config file directly to tmuxinator on the command-line?
I'm new to tmuxinator, so forgive me if this is a naive question.
I have a tmuxinator config file (say, my_config.yaml,) stored in a source tree of a shared project.
For others to use it, AFAICT they first have to make a soft-link from the config…

SuperElectric
- 17,548
- 10
- 52
- 69
5
votes
2 answers
How to split two vertical pane inside a horizontal pane in tmux using tmuxinator
Currently am having this in my tmuxinator yml file,
windows:
- editor:
layout: main-horizontal
panes:
- vim
-
- server: rails s
This gives me 2 windows one for editor and another for server. In editor window…

Abhiram
- 1,459
- 14
- 23