Skip to content

How can I control which command micro uses for copy/paste operations? #3629

Answered by niten94
antoine2711 asked this question in Q&A
Discussion options

You must be logged in to vote

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 named micro-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 input
  • micro-clip -o reg is run when pasting text with content read in standard output
  • reg is clipboard or primary

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 before micro-clip was su…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@antoine2711
Comment options

Comment options

You must be logged in to vote
1 reply
@antoine2711
Comment options

Comment options

You must be logged in to vote
1 reply
@antoine2711
Comment options

Answer selected by antoine2711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants