micro-editor / micro-editor/micro

Start/End actions don't work

Open
#1,291 0 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

Description of the problem or steps to reproduce

Configure a key combo to the actions "Start" and "End".

Trigger them

Notice the editor moves the current line to near the top/bottom of the screen; not do what you expect e.g. move the cursor to the first/last line of the file

Specifications

You can use micro -version to get the commit hash.

Version: 1.4.1
Commit hash: 1856891
OS: macOS
Terminal: Alacritty

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

Reproduce the issue in micro 1.4.1 on macOS with the configured Start and End key combinations, then trace the action handlers that process those commands. Done means Start moves the cursor to the first line of the file and End moves it to the last line, rather than only repositioning the current line on screen.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.