comparison tmux.conf @ 140:e037d9b797eb

Fix colors and clipboad in vim and tmux
author zegervdv <zegervdv@me.com>
date Wed, 08 Oct 2014 23:27:50 +0200
parents f062b25a262e
children 7a4e97f44baa
comparison
equal deleted inserted replaced
139:0958749f45f0 140:e037d9b797eb
5 bind v split-window -h 5 bind v split-window -h
6 6
7 # act like vim 7 # act like vim
8 setw -g mode-keys vi 8 setw -g mode-keys vi
9 set -g status-keys vi 9 set -g status-keys vi
10 bind-key -t vi-edit Up 10 # bind-key -t vi-edit Up
11 bind-key -t vi-eidt Down 11 # bind-key -t vi-eidt Down
12 bind h select-pane -L 12 bind h select-pane -L
13 bind j select-pane -D 13 bind j select-pane -D
14 bind k select-pane -U 14 bind k select-pane -U
15 bind l select-pane -R 15 bind l select-pane -R
16 bind-key -r C-h select-window -t :- 16 bind-key -r C-h select-window -t :-
48 # switch to last pane 48 # switch to last pane
49 bind-key C-a last-pane 49 bind-key C-a last-pane
50 50
51 # Local config 51 # Local config
52 if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local' 52 if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local'
53 bind -t vi-copy 'v' begin-selection 53 # bind -t vi-copy 'v' begin-selection
54 bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy" 54 # bind -t vi-copy 'y' copy-pipe "reattach-to-user-namespace pbcopy"
55 set-option -g default-command "reattach-to-user-namespace -l zsh"