From cc410ed2e9eb8be3baad3d9eb6743875eb936580 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 20 May 2020 19:37:27 +0200 Subject: feat: add tmux --- tmux/.tmux.conf | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tmux/.tmux.conf diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..5532581 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,28 @@ +set-option -ga terminal-overrides ",xterm-256color-italic:Tc" + +set -g status-bg '#2ecc71' +set -g status-fg '#ecf0f1' +set -g history-limit 50000 +set -g mouse on + +set -g status-left '' +set -g status-right "%d/%m/%Y %H:%M" + +set -g renumber-windows on +bind r source-file ~/.tmux.conf \; display "Config Reloaded!" + +# select pane +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +# select window +bind -r C-h select-window -t :- +bind -r C-l select-window -t :+ + +# resize pane +bind -r H resize-pane -L 10 +bind -r J resize-pane -D 10 +bind -r K resize-pane -U 10 +bind -r L resize-pane -R 10 -- cgit v1.2.3-18-g5258