From 2207f63b17dc881f2de7ff4d45bd3a2f532283d9 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 27 Mar 2021 14:31:44 +0100 Subject: Add tmux configurations --- .tmux.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .tmux.conf diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..46a744e --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,26 @@ +# set -g default-terminal "xterm-256color" + +# vi is good +setw -g mode-keys vi + +# mouse behavior +set-option -g mouse on + +# start indexing from 1 not 0 +set -g base-index 1 +set -g pane-base-index 1 + +# Scroll History +set -g history-limit 30000 + +# Set ability to capture on start and restore on exit window data when running an application +setw -g alternate-screen on + +# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. +set -s escape-time 50 + +# Allow the arrow key to be used immediately after changing windows +set-option -g repeat-time 0 + +# Allow copy like vim +bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' -- cgit v1.2.3