aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-02-21 10:34:35 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commitb28ae48aa9d55868fce000e731a2a7b2b9b1d6c2 (patch)
tree28dca40de2ece53cd37c840fc9bb410f6b3ee19b
parenta402ca8e0ea6d4b05a78661ba9bb55360a8ff53d (diff)
downloaddotnvim-b28ae48aa9d55868fce000e731a2a7b2b9b1d6c2.tar.gz
dotnvim-b28ae48aa9d55868fce000e731a2a7b2b9b1d6c2.zip
Some tweaks
-rw-r--r--tmux.conf36
1 files 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