logs: tail -f log/development.log Windows # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after' # synchronize: after panes: Layout: main-vertical # Synchronize all panes of this window, can be enabled before or after the pane commands run. # startup_pane: 1 # Controls whether the tmux session should be attached to automatically. # startup_window: editor # Specifies (by index) which pane of the specified window will be selected on project startup. # tmux_command: byobu # Specifies (by name or index) which window will be selected on project startup. This can be used by derivatives/wrappers like byobu. # tmux_options: -f ~/. # Change the command to call tmux. # pre_window: rbenv shell 2.0.0-p247 # Pass command line options to tmux. Useful for setting up interpreter versions. # Project hooks # Runs on project start, always # on_project_start: command # Run on project start, the first time # on_project_first_start: command # Run on project start, after the first time # on_project_restart: command # Run on project exit ( detaching from tmux session ) # on_project_exit: command # Run on project stop # on_project_stop: command # Runs in each window and pane before window/pane specific commands. # ~/.tmuxinator/sample.yml name: sample root: ~/ # Optional tmux socket # socket_name: foo # Note that the pre and post options have been deprecated and will be replaced by # project hooks. If this is a new project you will see this default config: Your default editor ( $EDITOR) is used to open the file. Please note that dots can't be used in project names as tmux uses them internally to delimit between windows and panes. new is aliased to n, open to o, and edit to e. ~/.config/tmuxinator): tmuxinator new -local įor editing you can also use tmuxinator open. tmuxinator.yml) instead of the default project configuration file location (e.g. Create a projectĬreate or edit your projects with: tmuxinator new Ĭreate or edit a local project where the config file will be stored in the current working directory (in. If not please consult the man pages for tmux. ![]() You should understand what windows and panes are in tmux. fish $ wget ~/.config/fish/completions/Ī working knowledge of tmux is assumed. Please refer to the manual for more details. Note: ZSH's completion files can be put in other locations in your $fpath. Zsh # wget -O /usr/local/share/zsh/site-functions/_tmuxinator bash # wget -O /etc/bash_completion.d/tmuxinator.bash But, if you installed tmuxinator via Ruby's gem, you'll need to run the following commands to put the completion files where they'll be loaded by your shell. Your distribution's package manager may install the completion files in the appropriate location for the completion to load automatically on startup. ![]() Your mileage may vary for earlier versions. The recommended version of tmux to use is 1.8 or later, with the exception of 2.5, which is not supported (see issue 536 for details). Mine looks like this: export EDITOR='vim' If you want to change your default editor simply put a line in ~/.bashrc that changes it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |