tmuxを2.6にアップグレードした時に bind-key
と vi-copy
周りが動作しなくなったので.tmux.confの内容を変更した時の差分
Last active
April 21, 2023 11:58
-
-
Save sainu/3acd0454a16e464e96cc5a144acbabc2 to your computer and use it in GitHub Desktop.
tmuxを2.6にアップグレードした時に bind-key と vi-copy 周りが動作しなくなったので.tmux.confの内容を変更した時の差分
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bind-key -t vi-copy v begin-selection | |
-bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" | |
-unbind -t vi-copy Enter | |
-bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" | |
+bind-key -T copy-mode-vi v send-keys -X begin-selection | |
+bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" | |
+bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment