-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add yank on MouseDragEnd1Pane #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking the time to contribute back!
scripts/helpers.sh
Outdated
@@ -121,6 +135,7 @@ command_exists() { | |||
} | |||
|
|||
clipboard_copy_command() { | |||
local mouse="$1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change that to local mouse="${1:-false}"
to preserve previous callers.
|
||
yank_with_mouse_default="on" | ||
yank_with_mouse_option="@yank_with_mouse" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would appreciate it if you could add a description of these to the README.md
.
@docwhat thanks for the feedback, I made the requested changes and updated mouse documentation. |
I would really love to see getting this merged - anything holding it up? |
I just stumbled across this PR, I second the desire to get this merged and offer to rebase it to get it merged if @docwhat is still interested. In the meantime, I have the following workaround to share:
The above binding was reverse engineered from what this PR does under the hood |
- Ran `shfmt` on shell code. - Fixed ordering of `xclip` and `xsel`. Issue #109
Thanks for reminding me. Merged. |
This basically expands on some of the removed code from #104 so that:
@yank_selection_mouse
controls the selection on Linux, defaulting to PRIMARY@yank_with_mouse
tooff
will disable these changes