zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
25.2k stars 1.18k forks source link

clipboard internal option #1910

Open scargill opened 4 years ago

scargill commented 4 years ago

I am looking for the "clipboard internal" option

As a relative newbie to MICRO EDITOR I just installed an hour ago on a Rasperry Pi 4 with Raspbian (in an SSH session) - if I hit control-e I get commands as before but then hitting "clipboard" or "clipboard internal" (without the quotes) produces "unknown command clipboard"

ghost commented 4 years ago

Did you mean set clipboard?

scargill commented 4 years ago

I didn't but I JUST tried that now, thanks – I copied some text from my PC – PASTED into the editor – it WORKS – but copying from the PC then trying to paste into the editor doesn't. It pastes whatever was last copied out of the editor back into the editor.

Pete

From: Ryan Westlund notifications@github.com Sent: 09 November 2020 15:21 To: zyedidia/micro micro@noreply.github.com Cc: Peter Scargill pete@scargill.org; Author author@noreply.github.com Subject: Re: [zyedidia/micro] clipboard internal option (#1910)

Did you mean set clipboard?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zyedidia/micro/issues/1910#issuecomment-724043054 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAONJA6KQRUYWCTWJF5ELPDSO73F7ANCNFSM4TPHKAWA . https://github.com/notifications/beacon/AAONJA3VLLY5QSNL2WOAAUTSO73F7A5CNFSM4TPHKAWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFMUAKLQ.gif

zyedidia commented 3 years ago

Once you set the clipboard option to internal, copy-paste will only be supported within micro. You may be able to paste into micro from outside using your terminal's paste key, but micro's copy-paste will only work internally. You will probably need to use the internal clipboard option over ssh because since micro is running on a remote machine it cannot access your local clipboard. See > help copypaste for details.