diff options
-rw-r--r-- | dot_tmux.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dot_tmux.conf b/dot_tmux.conf new file mode 100644 index 0000000..e63ded6 --- /dev/null +++ b/dot_tmux.conf | |||
@@ -0,0 +1,29 @@ | |||
1 | # List of plugins | ||
2 | set -g @plugin 'tmux-plugins/tpm' | ||
3 | set -g @plugin 'tmux-plugins/tmux-sensible' | ||
4 | |||
5 | # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | ||
6 | run '~/.tmux/plugins/tpm/tpm' | ||
7 | |||
8 | set -g @plugin 'seebi/tmux-colors-solarized' | ||
9 | |||
10 | # switch panes using Alt-arrow without prefix | ||
11 | bind -n M-Left select-pane -L | ||
12 | bind -n M-Right select-pane -R | ||
13 | bind -n M-Up select-pane -U | ||
14 | bind -n M-Down select-pane -D | ||
15 | |||
16 | # remap prefix from 'C-b' to 'C-a' | ||
17 | unbind C-b | ||
18 | set-option -g prefix C-a | ||
19 | bind-key C-a send-prefix | ||
20 | |||
21 | # split panes using | and - | ||
22 | bind \\ split-window -h | ||
23 | bind - split-window -v | ||
24 | unbind '"' | ||
25 | unbind % | ||
26 | |||
27 | # reload config file (change file location to your the tmux.conf you want to use) | ||
28 | bind r source-file ~/.tmux.conf | ||
29 | |||