-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtmux.conf
More file actions
61 lines (44 loc) · 1.88 KB
/
tmux.conf
File metadata and controls
61 lines (44 loc) · 1.88 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
set -g prefix C-a
unbind C-b
bind C-a send-prefix
bind C-s set synchronize-panes
bind r source-file ~/.tmux.conf
bind e popup -h 85% -w 85% -E 'exec lf'
bind g command-prompt -p "ssh to:" "split-window 'ssh %1'"
#bind g popup -h 85% -w 85% -E
#bind p run-shell 'sel'
set -g default-terminal "screen-256color"
# set-option -g default-shell /bin/zsh
setw -g mode-keys vi # emacs
set -g mouse on # mode-mouse on
set -g status-position top
set -g base-index 1
setw -g pane-base-index 1
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=green][#[fg=cyan]#S#[fg=green]]'
set -g status-left-length 20
set -g window-status-separator " "
set -g status-style "fg=#ebdbb2,bg=#282828"
set -g pane-border-style "fg=#ebdbb2"
set -g pane-active-border-style "fg=#d79921"
if-shell '[[ $(uname -s) = Linux ]]' {
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
} {
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
}
if-shell "test ! -d ~/.tmux/plugins/tpm" {
run -b "git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm"
}
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'alexwforsythe/tmux-which-key'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"
#run-shell "if which powerline-daemon > /dev/null; then powerline-daemon -q; fi"
#if-shell "test -f /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf" "source-file /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
#if-shell "test -f /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf" "source-file /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
run '~/.tmux/plugins/tpm/tpm'
TMUX_FZF_LAUNCH_KEY="C-f"