From eb88f5c83d381ad703e1006dde27f84f884dc6a7 Mon Sep 17 00:00:00 2001 From: Fran Date: Sat, 31 Jul 2021 19:17:38 -0500 Subject: [PATCH] Add tmux --- .config/tmux/tmux.conf | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/tmux/tmux.conf diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf new file mode 100644 index 0000000..91906e8 --- /dev/null +++ b/.config/tmux/tmux.conf @@ -0,0 +1,40 @@ +set -g default-terminal "screen-256color" +# tell Tmux that outside terminal supports true color +set -ga terminal-overrides ",xterm-256color*:Tc" + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' + +# TMUX Configs +set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M' +set -g @nord_tmux_no_patched_font "1" + +# Border colors +set -g pane-border-style fg=white +set -g pane-active-border-style "bg=default fg=blue" + +# Status bar colors +set -g status-bg blue +set -g status-fg white + +# Move panels like vim +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# Change panel size +bind H resize-pane -L 5 +bind J resize-pane -D 5 +bind K resize-pane -U 5 +bind L resize-pane -R 5 + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'git@github.com:user/plugin' +# set -g @plugin 'git@bitbucket.com:user/plugin' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm'