micro-editor / micro-editor/micro

Autocompletion in shell mode (Ctrl-b)

Open
#1,018 1 comment 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

At the current moment shell mode does not support auto completion as how it would be possible on the command line. I set some bash variables as shortcuts to get to micro bindings and micro settings file, specifically $microbindings and $microsettings and I can't access these from shell mode. However I am able to start another instance of micro with the above files opened up: $ micro microbindings . Is it possible to include these features in shell mode?

Specifications

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

Commit hash: af520cf
OS: Linux Mint 18.2 Cinnamon 64-bit
Terminal: gnome-terminal

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 tracing shell mode from the Ctrl-b entry point and compare its behavior with command-line completion. Verify completion for shell variables such as $microbindings and $microsettings, while preserving the existing micro microbindings invocation behavior. Done means those variables can be completed and opened from shell mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.