micro icon indicating copy to clipboard operation
micro copied to clipboard

ctrl-c doesn't copy text in command mode

Open injust opened this issue 6 months ago • 3 comments

ctrlc does not copy text when in command mode.

But similar keybinds work:

  • ctrlx cuts selected text (or the entire line if nothing is selected)
  • ctrlv pastes from the clipboard

injust avatar Jun 26 '25 03:06 injust

are you on Linux? did you installed xclip?

  • If you are not working over SSH, use the micro keybinding (Ctrl-c by default) to perform copies. If on Linux, install xclip or xsel beforehand.

here

pasteluengas avatar Jul 15 '25 21:07 pasteluengas

I'm on macOS and pbcopy works for normal copying. The problem is specific to micro's command mode.

injust avatar Jul 15 '25 21:07 injust

I can reproduce this. I'd say it's a bug and not a terminal/OS copy issue.

cutelisp avatar Jul 15 '25 22:07 cutelisp