forked from mpanarin/.dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
32 lines (24 loc) · 784 Bytes
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set -g default-terminal "xterm-256color"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jbnicolai/tmux-fpp'
# Copy to clipboard please
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
# Vim style pane selection
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Don't ask, just do it!
bind-key & kill-window
bind-key x kill-pane
# Add some mouse support
set -g mouse on
set -g focus-events on
# Tmux uses a 'control key', let's set it to 'Ctrl-a'
# Reason: 'Ctrl-a' is easier to reach than 'Ctrl-b'
set -g prefix C-a
unbind C-b
# bind r source-file ~/.tmux.conf
run -b '~/.tmux/plugins/tpm/tpm'