Permalink
Browse files

Initial tmux customization (h/t @semanticart for most of this).

  • Loading branch information...
1 parent 8659116 commit 790b251db8f01e121eb506253cbf42f35ac8ff89 @thegreatape committed Oct 31, 2012
Showing with 35 additions and 0 deletions.
  1. +35 −0 tmux.conf
View
@@ -1 +1,36 @@
+# remap prefix to Control + a
+set -g prefix C-a
+unbind C-b
+bind C-a send-prefix
+
+# fix insert mode exit lag in vim
set -sg escape-time 0
+
+# allow mouse scrolling
+set -g mode-mouse on
+
+# force a reload of the config file
+unbind r
+bind r source-file ~/.tmux.conf
+
+# act like vim
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# split windows evenly like vim
+bind v split-window -h
+bind s split-window -v
+
+# 25%, horizontal
+unbind T
+bind T split-window -p 25
+
+# 35%, vertical
+unbind t
+bind t split-window -p 35 -h
+
+# 1%, horizontal
+unbind Y
+bind Y split-window -p 1

0 comments on commit 790b251

Please sign in to comment.