From 919c06872299e138fbf67a6d0b7a21b06123ba44 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 2 Apr 2020 12:38:50 -0600 Subject: [PATCH] Added tmux copy to xclip from vi selection --- tmux/t-bindings.tmux | 1 + tmux/tmux.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 tmux/t-bindings.tmux diff --git a/tmux/t-bindings.tmux b/tmux/t-bindings.tmux new file mode 100644 index 0000000..539b243 --- /dev/null +++ b/tmux/t-bindings.tmux @@ -0,0 +1 @@ +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip' diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 3389de4..a0d299e 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -1,4 +1,5 @@ source-file ~/.wryn/tmux/n-bindings.tmux +source-file ~/.wryn/tmux/t-bindings.tmux # don't use escape key set -s escape-time 0