diff --git a/config/.bashrc b/config/.bashrc index 4227944..397e2c2 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -49,3 +49,6 @@ export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || pr # https://stackoverflow.com/a/65362210/13725946 export DOCKER_BUILDKIT=0 export COMPOSE_DOCKER_CLI_BUILD=0 + +# update tmux config +tmux source-file ~/.tmux.conf diff --git a/config/.tmux.conf b/config/.tmux.conf index 6e18e3c..333265a 100644 --- a/config/.tmux.conf +++ b/config/.tmux.conf @@ -1,6 +1,16 @@ +# plugins +set -g @plugin 'tmux-plugins/tpm' + +# general options set -g default-terminal "xterm-256color" +set -sg escape-time 0 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 j select-pane -D bind k select-pane -U @@ -12,4 +22,5 @@ unbind '"' bind v split-window -h -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'