Skip to content

Commit

Permalink
Added how to customise key bindings to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSast authored Apr 10, 2023
1 parent ab3e4e0 commit b7cd932
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Sessions are a second class citizen in tmux environment:

This plugin solves the above problems.

### Features
### Key Bindings

- `prefix + g` - prompts for session name and switches to it. Performs 'kind-of'
name completion.<br/>
Expand All @@ -32,7 +32,18 @@ This plugin solves the above problems.
- secondary-keys
- `h`, `-`, `"`: join horizontally
- `v`, `|`, `%`: join vertically
- `f`, `@`: join full screen
- `f`, `@`: join full screen

To change these, add to `.tmux.conf`:

set -g @sessionist-goto 'C-f'
set -g @sessionist-alternate 'P'
set -g @sessionist-new 'C-c'
set -g @sessionist-promote-pane 'C-1'
set -g @sessionist-join-pane 'no-key'
set -g @sessionist-kill-session 'C-x'

instad, to unbind, simply set the variable to arbitrary text (e.g. `no-key`)

### Installation with [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) (recommended)

Expand Down

0 comments on commit b7cd932

Please sign in to comment.