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:
Lordnibbler
2013-08-07 18:03:05 -07:00
committed by Ben Radler
parent 03a4dff660
commit acf46feb6d

View File

@@ -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: