Generator for tmux configurations. The default template starts a tmux session with two windows in your project root, vim is started in the first window.
- Ruby 1.9
- zsh & fish shells
$ gem install tmuxification
$ cd ~/code/my_project
$ tmuxification create
You will need to reload your shell config file. The easiest way is to replace
the current process with a new instance of your shell, e.g exec zsh
.
$ start_my_project
Note: The above will also autocomplete.
$ tmuxification list
$ cd ~/code/my_project
$ tmuxification destroy
You can create your own templates, just drop them in ~/.tmuxinator
with a
filename such as basic.tmux.erb
and specify your template as such:
$ tmuxification create --template-name=basic
You can also edit the default.{zsh,fish}.tmux.erb
templates which are used when
no template-name
is specified.
The default template is chosen based on the default shell.
By default the tmux project is named after the root directory of the project, you can specify a different project name as such:
$ cd ~/code/my_project
$ tmuxification create --project-name=foobar
$ start_foobar
Every project created will append a line per project to your .zshrc
or
config.fish
file.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request