micro-editor / micro-editor/micro
Ctrl-c (copy) does not work
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Ctrl-c and Ctrl-Shift-c behavior in micro 2.0.10 on Arco Linux with Xfce4-terminal and the provided bindings.json. Trace how the Ctrl-c binding is read and handled, then verify that copying with Ctrl-c works without breaking Ctrl-v or the existing Ctrl-Shift-c behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100