-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
24 lines (20 loc) · 845 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
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set-window-option -g xterm-keys on
set -g default-terminal "screen-256color"
set -g update-environment -r
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
set -g focus-events on
# switch panes using Alt-arrow without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
#run-shell "powerline-daemon -q --replace"
run-shell "tmux set-env -g powerline_location $(pip3 show powerline-status | grep Location: | awk '{print $2}')"
source "$HOME/.tmux_powerline.conf"
set -g terminal-overrides ',xterm-256color:Tc'
set -g default-terminal "tmux-256color"
set -as terminal-overrides ',xterm*:sitm=\E[3m'
set-option -sg escape-time 10