mirror of
https://github.com/tmuxinator/tmuxinator.git
synced 2026-04-29 18:58:48 -05:00
Update README.md
Add info on changing `base-index` in `.tmux.conf` and additional info about how windows and panes work.
This commit is contained in:
11
README.md
11
README.md
@@ -50,6 +50,15 @@ Add the following to your `~/.zshrc`:
|
||||
|
||||
## Usage
|
||||
|
||||
### Tmux base-index
|
||||
|
||||
If you use a base-index other than the default (0) in tmux, please be sure to add the following two lines to your `.tmux.conf`:
|
||||
|
||||
```
|
||||
set-option -g base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
```
|
||||
|
||||
### Create a project
|
||||
|
||||
Create or edit your projects with:
|
||||
@@ -93,6 +102,8 @@ The `pre` command allows you to run anything before starting the tmux session.
|
||||
Could be handy to make sure you database daemons are running. Multiple commands
|
||||
can be specified, just like for tabs.
|
||||
|
||||
Under `windows:`, each `-` indicates a single window in tmux. However, each window can have multiple panes. Sometimes you want a window with multiple panes, sometimes you just want a window with one pane. Note that `-` in yaml represents an array entry.
|
||||
|
||||
## Panes Support
|
||||
|
||||
You can define your own panes inside a window likes this:
|
||||
|
||||
Reference in New Issue
Block a user