Skip to content

Instantly share code, notes, and snippets.

@emilsoman
Created August 31, 2014 21:49
Show Gist options
  • Save emilsoman/3e9177c6e02001876059 to your computer and use it in GitHub Desktop.
Save emilsoman/3e9177c6e02001876059 to your computer and use it in GitHub Desktop.
Easy tmux layouts for tmuxinator

Tmux layouts with tmuxinator

Finally this time, I'm sold on tmux after I used tmuxinator to configure tmux layouts. The default layout didn't work for me, I wanted more control on the split panes. Here's how you can fine tune your tmux layout:

  1. Add this to your ~/.tmux.conf -> set -g mouse-resize-pane on
  2. Start tmux, split panes, resize panes with mouse to your liking
  3. On your shell, run tmux list-windows to list active tmux windows and their layouts
  4. Copy paste the layout in tmuxinator project file

Also, if you want to customize the tmux status bar colors, use this script on your shell to print all 256 colors.

for i in {0..255} ; do
    printf "\x1b[38;5;${i}mcolour${i}\n"
done
@bugoverfl0w
Copy link

invalid option: mouse-resize-pane :D

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