update tmux config

This commit is contained in:
2022-06-24 23:29:58 +03:00
parent 1c17da33cf
commit 9217c4e40c
2 changed files with 15 additions and 1 deletions

View File

@@ -49,3 +49,6 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr
# https://stackoverflow.com/a/65362210/13725946 # https://stackoverflow.com/a/65362210/13725946
export DOCKER_BUILDKIT=0 export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0 export COMPOSE_DOCKER_CLI_BUILD=0
# update tmux config
tmux source-file ~/.tmux.conf

View File

@@ -1,6 +1,16 @@
# plugins
set -g @plugin 'tmux-plugins/tpm'
# general options
set -g default-terminal "xterm-256color" set -g default-terminal "xterm-256color"
set -sg escape-time 0
set-option -ga terminal-overrides ",xterm-256color:Tc" set-option -ga terminal-overrides ",xterm-256color:Tc"
# statusline
set -g status-left "[#I] "
set -g status-right "\"#H\" %H:%M %d-%m-%Y"
# bindings
bind h select-pane -L bind h select-pane -L
bind j select-pane -D bind j select-pane -D
bind k select-pane -U bind k select-pane -U
@@ -12,4 +22,5 @@ unbind '"'
bind v split-window -h -c "#{pane_current_path}" bind v split-window -h -c "#{pane_current_path}"
bind g split-window -v -c "#{pane_current_path}" bind g split-window -v -c "#{pane_current_path}"
set -sg escape-time 0 # plugin manager
run '~/.tmux/plugins/tpm/tpm'