How can I control which command micro uses for copy/paste operations? #3629
-
I would like to control which command micro calls for coping and for pasting. There don't seems to be a preference/configuration for that. Did I miss it? Regards, Antoine |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Check this page: https://gist.github.com/rochacbruno/9e4f4c471e849276f11562272db446b0 Specifically, the first link on that page. |
Beta Was this translation helpful? Give feedback.
-
Yep. And the first line on that page says to run "help keybindings" in micro, which gives an example at around line 28. |
Beta Was this translation helpful? Give feedback.
-
There is no option where the commands used with copy and paste can be changed but
There is nothing written about |
Beta Was this translation helpful? Give feedback.
There is no option where the commands used with copy and paste can be changed but
micro-clip
is used if it is in$PATH
. A script or symbolic link namedmicro-clip
can be created but this is how it is run in micro:micro-clip -i reg
is run when copying text with content written in standard inputmicro-clip -o reg
is run when pasting text with content read in standard outputreg
isclipboard
orprimary
There is nothing written about
micro-clip
in documentation but an explanation could be added. It is added as one of the programs that can be used in commit 03ae049. I think #938 is the only issue about changing the commands used that is still open, but it was opened beforemicro-clip
was su…