From df74dc85af1ab3820f26f3f129217c2d067845a4 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 23 Aug 2021 17:06:33 +0200 Subject: [PATCH] Update tmux config --- .tmux.conf | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 03c94d8..876e610 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,43 +1,37 @@ -# tmux settings _________________ +# General set -g prefix C-Space set -g base-index 1 -set -g default-terminal "screen-256color" - setw -g monitor-activity on - set -g status-keys vi setw -g mode-keys vi set -g history-limit 10000 bind r source-file ~/.tmux.conf # reload tmux conf -# vim-style bindings ____________ +# Keybindings -# split +# Split unbind v unbind s unbind % # vsplit unbind '"' # hsplit bind v split-window -h -c "#{pane_current_path}" bind s split-window -v -c "#{pane_current_path}" - -# split navigate +# Split navigate bind -r h select-pane -L bind -r j select-pane -D bind -r k select-pane -U bind -r l select-pane -R - -# split resize +# Split resize bind -r H resize-pane -L 4 bind -r J resize-pane -D 4 bind -r K resize-pane -U 4 bind -r L resize-pane -R 4 -# theme ________________________ +# Theming -# status bar set -g status-style fg=default,bg=black setw -g window-status-style fg=default,bg=black setw -g window-status-current-style fg=black,bg=white @@ -46,3 +40,8 @@ set -g pane-active-border-style fg=#222222 set -g message-style fg=brightred,bg=black set -g display-panes-active-colour blue set -g display-panes-colour brightred +set -g default-terminal "tmux-256color" + +# Misc + +set mouse-utf8 off