so icon indicating copy to clipboard operation
so copied to clipboard

Copy an answer's code snippets into the system clipboard

Open larumbe opened this issue 3 years ago • 2 comments

Sometimes when browsing answers, I must resort to 'tmux' terminal text selection and copy functions for pasting their code into my editor. It would be nice of 'so' would somehow let you pick a code snippet by number and have it copied into your system clipboard.

larumbe avatar Nov 13 '21 00:11 larumbe

+1

x2db avatar Jan 10 '22 20:01 x2db

As of v0.4.7 you can press y and it will copy either the question or the answer, whichever side is currently focused. This is admittedly not as sophisticated as individual text snippets, but hopefully it gets you half way there?

Depending on your linux distro be sure to set your copy_cmd in your configuration.

samtay avatar Aug 21 '22 18:08 samtay