Commit 2e007ed
script/setup
@@ -47,5 +47,6 @@ dotfile "inputrc"
dotfile "npmrc"
dotfile "profile"
dotfile "ssh/config"
+dotfile "tmux.conf"
dotfile "vimrc"
dotfile "wgetrc"
tmux.conf
@@ -0,0 +1,40 @@
+setw -g mode-keys vi
+setw -g clock-mode-style 24
+
+set-option -g default-shell /bin/bash
+set-option -g history-limit 10000
+set-option -g status-right '%Y-%m-%d %H:%M'
+
+bind P paste-buffer
+bind -r H resize-pane -L 5
+bind -r J resize-pane -D 5
+bind -r K resize-pane -U 5
+bind -r L resize-pane -R 5
+bind | split-window -h -c '#{pane_current_path}'
+bind - split-window -v -c '#{pane_current_path}'
+
+unbind t
+bind t split-window -p 25 -c '#{pane_current_path}'
+
+bind-key - split-window -v -c '#{pane_current_path}'
+bind-key s split-window -v -c '#{pane_current_path}'
+bind-key v split-window -h -c '#{pane_current_path}'
+bind-key | split-window -h -c '#{pane_current_path}'
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
+bind-key + select-layout main-horizontal
+bind-key -r C-h select-window -t :-
+bind-key -r C-l select-window -t :+
+bind-key : command-prompt
+bind-key = select-layout main-vertical
+bind-key C-o rotate-window
+bind-key L clear-history
+bind-key r refresh-client
+bind-key bspace previous-window
+bind-key enter next-layout
+bind-key space next-window
+bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
+bind-key -T copy-mode-vi v send-keys -X begin-selection
+bind-key -T copy-mode-vi y send-keys -X copy-pipe "xclip -selection clipboard -i"