diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-05-19 23:08:05 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-05-19 23:27:42 -0400 |
commit | 4d817a4e565aa913aa0ebbe8dc597e5521c9b246 (patch) | |
tree | 55c65b6bccdfe89e757ecf54ff27084c8af838f6 /tmux.conf | |
parent | 18132d7281dddd98f8dcc298ec742a02ed278d86 (diff) | |
download | conf-4d817a4e565aa913aa0ebbe8dc597e5521c9b246.tar.gz conf-4d817a4e565aa913aa0ebbe8dc597e5521c9b246.zip |
add some keybindings to let tmux interact with the system clipboard
Diffstat (limited to 'tmux.conf')
-rw-r--r-- | tmux.conf | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,10 @@ bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind -T copy-mode-vi ) send-keys -X start-of-line bind -T copy-mode-vi _ send-keys -X back-to-indentation +bind -T copy-mode-vi ^C run "tmux send-keys -X copy-selection-and-cancel; tmux-clipboard copy" +bind ^C run "tmux-clipboard copy" +bind ^V run "tmux-clipboard paste" + unbind ^B # set up default sessions |