-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
35 lines (29 loc) · 1.06 KB
/
.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
33
34
35
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
#set -g @plugin 'laishulu/emacs-tmux-pane'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g prefix M-n
unbind C-b
bind M-n send-prefix
set -g default-terminal "screen-256color"
set -g mouse on
bind p select-pane -U
bind n select-pane -D
bind f select-pane -R
bind b select-pane -L
bind 2 split-window -v
bind 3 split-window -h
bind 0 killp
bind 1 resize-pane -Z
set-window-option -g mode-keys emacs
run '~/.tmux/plugins/tpm/tpm'
bind y run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
run-shell "powerline-config tmux setup"
# set-option -g status on
# set-option -g status-interval 2
# set-option -g status-justify "centre"
# set-option -g status-left-length 60
# set-option -g status-right-length 90
# set-option -g status-left "#(~/.tmux/tmux-powerline/powerline.sh left)"
# set-option -g status-right "#(~/.tmux/tmux-powerline/powerline.sh right)"
# set-hook -g session-created 'run-shell "~/.tmux/tmux-powerline/powerline.sh init"' # prettifies the window-status segments