Skip to content
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 TxUncopy command #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

wlonk
Copy link

@wlonk wlonk commented Nov 2, 2020

This will cancel copy mode on the associated pane.

It used to be the case that sending a Ctrl-C to the associated pane would kick it out of copy-mode, but as of something around Tmux 3, that broke. This adds a new command that, in my testing, works reliably to kick the pane out of copy mode. This is particularly useful if you have scrolled up in that pane and want to bounce it back down to the bottom to receive some new command.

Lemme know if the name "uncopy" is terrible, I am not in love with it.

This will cancel copy mode on the associated pane.
@jebaum
Copy link
Owner

jebaum commented Nov 3, 2020

I actually don't use this plugin at all anymore - the code looks fine and I'm happy to merge it, or if you'd like I can give you commit access. Would be just as well to fork your own if you intend to use it though and make that the "official" version

@wlonk
Copy link
Author

wlonk commented Nov 3, 2020

I'm happy to take whatever route you prefer. I find it mostly does everything I need, but who knows, as tmux versions roll out, that may change more.

(I once told a friend I didn't like IDEs, he rightfully rejoined "you do, you just like to assemble them yourself out of parts"—I have vim in one split and run tests in another, but sometimes scroll up to see long tracebacks, and then want to make it bounce to the bottom and run tests again with <leader><cr> again, so.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants