diff options
author | Cody Hiar <codyfh@gmail.com> | 2017-04-27 21:43:10 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2017-04-27 21:43:10 -0600 |
commit | b0aae0258336cdc931b34bae1836eace72a00a91 (patch) | |
tree | df6354c96d76f9ece78b933c07ff46565e261c3c | |
parent | ade8a99c1efd3a77fc22b96cc0ea9cd2af341491 (diff) |
Updating tmux vim copy paste
-rwxr-xr-x[-rw-r--r--] | linux.tmux.config | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | mac.tmux.config | 1 | ||||
-rw-r--r-- | tmux.config | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/linux.tmux.config b/linux.tmux.config index b5a43f3..091b4f0 100644..100755 --- a/linux.tmux.config +++ b/linux.tmux.config @@ -1,3 +1,3 @@ # vim: syntax=conf -bind -T copy-mode-vi y copy-pipe "tmux save-buffer - | xp" +bind -Tcopy-mode-vi y send -X copy-pipe-and-cancel "tmux save-buffer - | xp" diff --git a/mac.tmux.config b/mac.tmux.config index f086af2..38f7d0f 100644..100755 --- a/mac.tmux.config +++ b/mac.tmux.config @@ -1,7 +1,6 @@ # vim: syntax=conf # Setup 'v' to begin selection as in Vim -bind -T copy-mode-vi v begin-selection bind -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy" # Update default binding of `Enter` to also use copy-pipe unbind -T copy-mode-vi Enter diff --git a/tmux.config b/tmux.config index 9f41a64..790b781 100644 --- a/tmux.config +++ b/tmux.config @@ -31,8 +31,6 @@ bind C-v resize-pane -Z # Settings ##################################### -# Setup 'v' to begin selection as in Vim -bind -T copy-mode-vi v begin-selection # Help with the color problems set -g default-terminal "screen-256color" # Mouse Scrolling |