vim-tmuxify icon indicating copy to clipboard operation
vim-tmuxify copied to clipboard

Add TxUncopy command

Open wlonk opened this issue 4 years ago • 2 comments

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.

wlonk avatar Nov 02 '20 21:11 wlonk

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

jebaum avatar Nov 03 '20 06:11 jebaum

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.)

wlonk avatar Nov 03 '20 06:11 wlonk