diff options
author | clarkzjw <[email protected]> | 2023-02-10 11:14:08 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-10 11:14:08 -0800 |
commit | 989f91d86cbb57c9f0cc6b81dabbe1dfb6d4f074 (patch) | |
tree | 78bb9d28d1dbf8bfaf4758670b66a3fbed69daf4 /dot_tmux.conf | |
parent | 73c2657b8098eb83aa8a87e8e4f90d51c80549cb (diff) | |
download | dotfiles-989f91d86cbb57c9f0cc6b81dabbe1dfb6d4f074.tar.gz |
add tmux conf
Diffstat (limited to 'dot_tmux.conf')
-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 | |||