File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ### master
4
+ - split-window bindings "|" and "-" now create a new pane with the same path as
5
+ the original one the split started from.
6
+
3
7
### v0.0.1, 2014-05-23
4
8
- first version out
Original file line number Diff line number Diff line change @@ -43,13 +43,15 @@ The amount of cells to resize can be configured with `@pane_resize` option. See
43
43
44
44
<img align =" right " src =" /screenshots/pane_splitting.gif " alt =" pane splitting " />
45
45
46
- <br />< br />
46
+ <br />
47
47
48
48
** Splitting panes**
49
49
50
50
- ` | ` - split current pane horizontally
51
51
- ` - ` - split current pane vertically
52
52
53
+ Newly created pane always has the same path as the original pane.
54
+
53
55
<br /><br /><br /><br /><br />
54
56
55
57
### Installation with [ Tmux Plugin Manager] ( https://github.com/bruno-/tpm ) (recommended)
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ pane_resizing_bindings() {
35
35
}
36
36
37
37
pane_split_bindings () {
38
- tmux bind-key " |" split-window -h
39
- tmux bind-key " -" split-window -v
38
+ tmux bind-key " |" split-window -h -c " $PWD "
39
+ tmux bind-key " -" split-window -v -c " $PWD "
40
40
}
41
41
42
42
main () {
You can’t perform that action at this time.
0 commit comments