summaryrefslogtreecommitdiffstats
path: root/.tmux.conf
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2020-09-22 18:44:02 +0000
committerTyler Davis <tydavis@gmail.com>2020-09-22 18:44:02 +0000
commit9b808f5e19c8eb2b0612be859d2e290da2993544 (patch)
tree1524a8e667b7222e79fb066c32a1eea441d8cd13 /.tmux.conf
parentd30f6c5fdb00212264cf306a6f8ab3462817478a (diff)
downloaddotfiles-9b808f5e19c8eb2b0612be859d2e290da2993544.tar.gz
dotfiles-9b808f5e19c8eb2b0612be859d2e290da2993544.zip
fix: update tmux
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf11
1 files changed, 9 insertions, 2 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 54dba91..93fe802 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -1,8 +1,15 @@
# Reduce Esc-key processing delay
-set -sg escape-time 100
-set-option -g default-terminal "screen-256color"
+set -sg escape-time 10
+
+# Defaults
+set -g default-terminal "tmux-256color"
+set -ga terminal-overrides ",xterm-termite:Tc"
+
+# VI keybindings
+set -g mode-keys vi
set-window-option -g mode-keys vi
+# Paste keys
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection