From 8cd0f1a9ec323889b317ac96f3365d00b6231a16 Mon Sep 17 00:00:00 2001 From: Nigel Barink Date: Tue, 2 Apr 2024 19:13:55 +0000 Subject: [PATCH] Add tmux/.tmux.conf --- tmux/.tmux.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tmux/.tmux.conf diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..822184c --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,34 @@ +# Rebind the prefix key +unbind C-b +set-option -g prefix C-s + +# Map pane selection to more easy vim like bindings +bind-key -n 'M-h' select-pane -L +bind-key -n 'M-j' select-pane -D +bind-key -n 'M-k' select-pane -U +bind-key -n 'M-l' select-pane -R + +# set Status bar options +set-option -g status-position top +set-window-option -g window-status-style fg=White,bg="#61f230" +set-window-option -g window-status-current-style fg=White,bg="#9aff78" +set-option -g allow-rename off + +set -g @plugin 'tmux-plugins/tpm' + +set -g @plugin 'dracula/tmux' +set -g @dracula-plugins 'cpu-usage git ram-usage time' +set -g @dracula-show-left-icon \uebc8 + +# set some sanity options +# - This makes sure to keep the window/pane count starting at 1 +setw -g base-index 1 +setw -g pane-base-index 1 +# - This prevents me from having to press escape twice +set -s escape-time 0 + +# allow mouse interaction +set-option -g mouse on + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' \ No newline at end of file