summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.tmux.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
new file mode 100644
index 00000000..b7a91c9d
--- /dev/null
+++ b/.tmux.conf
@@ -0,0 +1,41 @@
+# Use the same prefix as screen
+unbind C-b
+set -g prefix C-a
+bind C-a send-prefix
+
+# Prevent escape key delay
+set -g escape-time 0
+
+# Enable colors
+set -g default-terminal "screen-256color"
+
+# Disable status bar
+set -g status off
+
+# Start windows at 1 rather than 0
+set -g base-index 1
+
+# Split windows like vim
+bind s split-window -v
+bind v split-window -h
+
+# Move between panes like vim
+bind h select-pane -L
+bind j select-pane -D
+bind k select-pane -U
+bind l select-pane -R
+
+# Resize panes like vim
+bind < resize-pane -L 1
+bind > resize-pane -R 1
+bind - resize-pane -D 1
+bind + resize-pane -U 1
+
+# Vi-style controls for copy mode
+setw -g mode-keys vi
+
+# Switch panes like C-w C-w in vim
+bind C-a last-pane
+
+# Balance vertical panes
+bind = select-layout even-horizontal
>ui-shared: do not allow negative minutesJason A. Donenfeld 2014-01-17auth: document tweakables in lua scriptJason A. Donenfeld 2014-01-17repolist: make owner clickable to searchJason A. Donenfeld 2014-01-17ui-shared: move about tab all the way to the leftJason A. Donenfeld 2014-01-17filter: don't forget to reap the auth filterJason A. Donenfeld 2014-01-17cgit.c: free tmp variableJason A. Donenfeld 2014-01-17Switch to exclusively using global ctxLukas Fleischer 2014-01-16auth: have cgit calculate login addressJason A. Donenfeld 2014-01-16auth: lua string comparisons are time invariantJason A. Donenfeld 2014-01-16authentication: use hidden form instead of refererJason A. Donenfeld 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld 2014-01-16t0111: Additions and fixesLukas Fleischer 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer