micro: Ctrl-c (copy) does not work

The keybinding Ctrl-c works fine in my terminal but does not work on micro even if it’s set on bindings.json. The copy function works ok if I press Ctrl-Shift-c. Ctrl-v (paste) also works ok.

Ctrl-c works out of the box on Linux Mint (i3wm) and MX-Linux (i3wm), both using Xfce4 terminal.

xclip is installed.

Commit hash: Micro 2.0.10 (comit hash b9763856). OS: Arco Linux with 3wm. Terminal: Xfce4-terminal

Content of my bindings.json file:

{
    "Alt-/": "lua:comment.comment",
    "Alt-a": "lua:snippets.Accept",
    "Alt-d": "lua:snippets.Cancel",
    "Alt-s": "lua:snippets.Insert",
    "Alt-w": "lua:snippets.Next",
    "CtrlUnderscore": "lua:comment.comment",
    "Ctrl-c": "Copy",
    "Ctrl-v": "Paste",
    "Ctrl-x": "Cut",
    "Ctrl-y": "Redo",
    "Ctrl-z": "Undo"
}

My settings file:

{
    "colorscheme": "nord-16"
}

Plugins installed: detectindent, micro-snippets-plugin, nordcolors. If I delete all of them there’s no change on this problem.

Thanks for your help.

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 1
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

I’m on Manjaro / sway / wayland / alacritty, and pressing Ctrl+e and typing set clipboard terminal solved the problem for me.