Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zevans/dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zevans committed Aug 10, 2014
2 parents 4b2bbd7 + db89cbb commit 7375413
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tmux/tmux.conf
Expand Up @@ -69,6 +69,17 @@ set -g status-justify centre
#Enable vi keys.
setw -g mode-keys vi

#Use vim keybindings in copy mode
setw -g mode-keys vi

#Setup 'v' to begin selection as in Vim
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"

# Update default binding of `Enter` to also use copy-pipe
unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"

#Set rename off so pane min/max'ing works
set-window-option -g allow-rename off

Expand Down

0 comments on commit 7375413

Please sign in to comment.