unify tmux config
This commit is contained in:
parent
9937fb7be8
commit
701a7fbe51
2 changed files with 4 additions and 2 deletions
3
shellrc
3
shellrc
|
@ -23,6 +23,7 @@ dotfiles="${HOME}/vdotfiles"
|
||||||
comp_enabled=true
|
comp_enabled=true
|
||||||
vcs_enabled=true
|
vcs_enabled=true
|
||||||
|
|
||||||
|
export SSH_AUTH_SOCKET="${HOME}/.ssh/ssh_auth_socket"
|
||||||
export TIME_STYLE='long-iso'
|
export TIME_STYLE='long-iso'
|
||||||
export LANG='en_US.UTF-8'
|
export LANG='en_US.UTF-8'
|
||||||
export LC_TIME='en_DK.UTF-8'
|
export LC_TIME='en_DK.UTF-8'
|
||||||
|
@ -116,6 +117,8 @@ seconds-to-hr() {
|
||||||
printf '%sd %sh %sm %ss\n' $d $h $m $s
|
printf '%sd %sh %sm %ss\n' $d $h $m $s
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config reloaded."; }
|
||||||
# }}}
|
# }}}
|
||||||
if is_zsh; then
|
if is_zsh; then
|
||||||
# zsh
|
# zsh
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# vim: ft=tmux
|
# vim: ft=tmux
|
||||||
unbind C-b
|
unbind C-b
|
||||||
|
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||||
set -g prefix C-Space
|
set -g prefix C-Space
|
||||||
bind C-Space send-prefix
|
bind C-Space send-prefix
|
||||||
bind r source-file /home/von/.tmux.conf\; display-message "Config reloaded."
|
|
||||||
bind s split-window -v
|
bind s split-window -v
|
||||||
bind v split-window -h
|
bind v split-window -h
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
|
@ -32,7 +32,6 @@ set -g status-left-length 20
|
||||||
set -g status-right-length 40
|
set -g status-right-length 40
|
||||||
set -g monitor-activity on
|
set -g monitor-activity on
|
||||||
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
|
set -g terminal-overrides "rxvt-unicode*:sitm@,ritm@"
|
||||||
set -g default-terminal "screen-256color"
|
|
||||||
|
|
||||||
set -g status-bg "colour0"
|
set -g status-bg "colour0"
|
||||||
set -g message-command-fg "colour7"
|
set -g message-command-fg "colour7"
|
||||||
|
|
Loading…
Reference in a new issue