Skip to content

Commit 08b084b

Browse files
authored
Merge pull request #16 from M1Sports20/master
Add support for full width splits.
2 parents 139e3cc + 0251cdb commit 08b084b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ The amount of cells to resize can be configured with `@pane_resize` option. See
6464
split current pane horizontally
6565
- `prefix + -`<br/>
6666
split current pane vertically
67+
- `prefix + \`<br/>
68+
split current pane full width horizontally
69+
- `prefix + _`<br/>
70+
split current pane full width vertically
6771

6872
Newly created pane always has the same path as the original pane.
6973

pain_control.tmux

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ pane_resizing_bindings() {
4141

4242
pane_split_bindings() {
4343
tmux bind-key "|" split-window -h -c "#{pane_current_path}"
44+
tmux bind-key "\\" split-window -fh -c "#{pane_current_path}"
4445
tmux bind-key "-" split-window -v -c "#{pane_current_path}"
46+
tmux bind-key "_" split-window -fv -c "#{pane_current_path}"
4547
tmux bind-key "%" split-window -h -c "#{pane_current_path}"
4648
tmux bind-key '"' split-window -v -c "#{pane_current_path}"
4749
}

0 commit comments

Comments
 (0)