micro-editor / micro-editor/micro

Typing in Arabic

Open
#3,722 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Issue

When I set my (physically British or American in the tests) keyboard layout to Arabic (setxkbmap ara) and open Micro I can type, but I cannot work out how to save, quit, etc. The usual ctrl+s is mapped to something else. Is it impossible to call these commands without a latin keyboard layout? Is there a way of remapping these commands?

Context

We distribute our Braille displays (running Raspian) with a variety of keyboards, but certain countries like Egypt tend to use US layout. We are therefore working out how to package and advise use of Micro for customers in these countries.

I appreciate that this may be out of scope for this repo. I'm really not sure. Is there convention for this across Linux CLIs?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in Micro after setting the layout with setxkbmap ara, checking whether ctrl+s and other command keys remain usable. Trace the existing command and keybinding entry points, then define whether configurable or layout-independent commands are needed; done means the approach is implemented or clearly documented for Arabic layouts.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.