Skip to content

Commit aa6125a

Browse files
Add .tmux.config file example
1 parent 03bb80d commit aa6125a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

OS/Linux/Tmux/tmux.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,27 @@ Big clock: ``Ctrl b`` + ``t``
4646

4747
Shortcuts: ``Ctrl b`` + ``?``
4848

49+
You can also create a `.tmux.config` file to create custom keybinds
50+
51+
```
52+
set -g mouse on
53+
54+
new
55+
neww
56+
splitw -h
57+
splitw -v
58+
59+
bind h split-window -v
60+
bind v split-window -h
61+
62+
unbind r
63+
bind r source-file ~/.tmux.conf
64+
65+
bind i resize-pane -L 5
66+
bind b resize-pane -D 5
67+
bind s resize-pane -U 5
68+
bind d resize-pane -R 5
69+
```
70+
4971

5072

0 commit comments

Comments
 (0)