From b28ae48aa9d55868fce000e731a2a7b2b9b1d6c2 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 21 Feb 2019 10:34:35 +0000 Subject: Some tweaks --- tmux.conf | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/tmux.conf b/tmux.conf index bbf0e4b..38e3822 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,24 +1,28 @@ -# use C - a +# Use C-a unbind C-b set-option -g prefix C-a bind-key C-a send-prefix -# split panes using | and - -bind | split-window -h -bind - split-window -v -unbind '"' -unbind % - -# switch panes using Alt-arrow without prefix -bind -n M-Left select-pane -L -bind -n M-Right select-pane -R -bind -n M-Up select-pane -U -bind -n M-Down select-pane -D - # Enable mouse mode (tmux 2.1 and above) set -g mouse on -# don't rename windows automatically -set-option -g allow-rename off - +# For vim themes set -g default-terminal "xterm-256color" + +# Automatically set window title +set-window-option -g automatic-rename on +set-option -g set-titles on + +# start from 1 +set -g base-index 1 +setw -g pane-base-index 1 + +# Emacs is cool, but I prefer vim +set -g status-keys vi +setw -g mode-keys vi + +# More history +set -g history-limit 10000 + +# avoid delay and ESC behaving weird +set -sg escape-time 0 -- cgit v1.2.3