Use zyedidia/clipper for external clipboard

Micro will now also search for a program called micro-clip for handling
the clipboard. This allows the user to make a program called micro-clip
that micro will call out to for performing copy/paste. For copy it will
be called with `micro-clip -i <reg>` and the text will be provided on
stdin. For paste it will be called with `micro-clip -o <reg>` and micro
expects the text to be provided on stdout.
This commit is contained in:
Zachary Yedidia
2022-06-14 08:40:57 -04:00
parent 4194c502ae
commit 03ae049c0f
3 changed files with 20 additions and 13 deletions

2
go.mod
View File

@@ -11,7 +11,7 @@ require (
github.com/sergi/go-diff v1.1.0
github.com/stretchr/testify v1.4.0
github.com/yuin/gopher-lua v0.0.0-20191220021717-ab39c6098bdb
github.com/zyedidia/clipboard v1.0.4 // indirect
github.com/zyedidia/clipper v0.1.0
github.com/zyedidia/glob v0.0.0-20170209203856-dd4023a66dc3
github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d
github.com/zyedidia/pty v1.1.15 // indirect