micro-editor / micro-editor/micro

Allow text selection in the InfoBar

Open
#2,421 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

Every time the open function is executed the starting path is the location where Micro was launched from. Navigating around deeper directory trees gets tedious very quickly if we are interested in opening few files on the same (deep) level.
As quick improvement would it be possible to allow text selection of the file path of the currently opened file and copy it into the clipboard?

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 locating the InfoBar implementation and the open function that establishes the starting path. Trace how the currently opened file path is displayed and check the terminal UI's available input and clipboard handling. Done means the displayed path can be selected and copied without disrupting normal navigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
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.