# HG changeset patch # User Steve Losh # Date 1292345499 18000 # Node ID 35f595330c7b67840dfc0c866cf3600790459b6e # Parent 9e7096459f94b4bc23e0816140863808b1d62532 tmux: my god, its full of mappings diff -r 9e7096459f94 -r 35f595330c7b .tmux.conf --- a/.tmux.conf Mon Dec 13 11:42:34 2010 -0500 +++ b/.tmux.conf Tue Dec 14 11:51:39 2010 -0500 @@ -1,13 +1,17 @@ -# prefix = C-j -set-option -g prefix C-j -bind C-j send-prefix +# prefix = C-f +set-option -g prefix C-f +bind C-f send-prefix # vim setw -g mode-keys vi - -# esc to copy unbind [ -bind Escape copy-mode +unbind ] +unbind -t vi-copy Space +unbind -t vi-copy Enter +bind -n Escape copy-mode +bind -t vi-copy v begin-selection +bind -t vi-copy y copy-selection +bind -n C-p paste-buffer -s \015 setw -g automatic-rename @@ -32,26 +36,19 @@ # splitting panes bind s split-window -v -bind C-s split-window -v bind v split-window -h -bind C-v split-window -h # moving between panes -bind h select-pane -L -bind C-h select-pane -L -bind j select-pane -D -bind C-j select-pane -D -bind k select-pane -U -bind C-k select-pane -U -bind l select-pane -R -bind C-l select-pane -R +bind -n C-h select-pane -L +bind -n C-j select-pane -D +bind -n C-k select-pane -U +bind -n C-l select-pane -R # resizing panes -bind Down resize-pane -D 10 -bind Up resize-pane -U 10 -bind Left resize-pane -L 10 -bind Right resize-pane -R 10 +bind -n S-Down resize-pane -D 10 +bind -n S-Up resize-pane -U 10 +bind -n S-Left resize-pane -L 10 +bind -n S-Right resize-pane -R 10 # resource bind r source-file ~/.tmux.conf -bind C-r source-file ~/.tmux.conf