Mercurial > dotfiles.old
comparison tmux.conf @ 218:12d9ea3a39f0
Fix c-a in tmux
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 22 Dec 2014 19:16:29 +0100 |
parents | 3cc8f190eed9 |
children | 1d9bec72b9b3 |
comparison
equal
deleted
inserted
replaced
217:9332fdb1ff4d | 218:12d9ea3a39f0 |
---|---|
26 bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l" | 26 bind -n C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l" |
27 | 27 |
28 #act like GNU screen | 28 #act like GNU screen |
29 unbind C-b | 29 unbind C-b |
30 set -g prefix C-a | 30 set -g prefix C-a |
31 bind-key C-a send-prefix | |
31 | 32 |
32 bind Escape copy-mode | 33 bind Escape copy-mode |
33 # Setup 'v' to begin selection as in Vim | 34 # Setup 'v' to begin selection as in Vim |
34 bind-key -t vi-copy v begin-selection | 35 bind-key -t vi-copy v begin-selection |
35 bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" | 36 bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" |
57 # set -g status-right '' | 58 # set -g status-right '' |
58 | 59 |
59 # increase scrollback lines | 60 # increase scrollback lines |
60 set -g history-limit 10000 | 61 set -g history-limit 10000 |
61 | 62 |
62 # switch to last pane | |
63 bind-key C-a last-pane | |
64 | |
65 setw -g mode-mouse on | 63 setw -g mode-mouse on |
66 | 64 |
67 # Map window numbers | 65 # Map window numbers |
68 # bind-key & select-window -t 1 | 66 # bind-key & select-window -t 1 |
69 # bind-key é select-window -t 2 | 67 # bind-key é select-window -t 2 |