micro-editor / micro-editor/micro
Bug: enable tab navigation shortcut keys to work even while inside a terminal inside micro
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
Open micro with micro. Press Ctrl+T to open a new tab, then press Ctrl+E and type in term bash to open a terminal within this new tab. Try to navigate back to the micro editor tab to the left with Alt+,. It doesn't work :(. Please add a setting to enable tab navigation shortcut keys to work even while inside a terminal within a tab within micro. I'd like to use them to navigate between my micro editor tabs and my terminal tabs while running micro.
You can see the full goal of what I'm trying to do here: https://github.com/zyedidia/micro/issues/2730#issuecomment-1416838239
Tab navigation is here: https://github.com/zyedidia/micro/blob/master/runtime/help/defaultkeys.md#tabs
- Alt+, navigates left one tab, so long as you're not in a terminal tab, as the terminal captures micro's shortcuts otherwise
- Alt+. navigates right one tab, so long as you're not in a terminal tab, as the terminal captures micro's shortcuts otherwise
Specifications
Commit hash: https://github.com/zyedidia/micro/commit/225927b9a25f0d50ea63ea18bc7bb68e404c0cfd
OS: Linux Ubuntu 22.04
Terminal: terminator 2.1.1
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 with the tab-navigation behavior described in runtime/help/defaultkeys.md and reproduce the issue by opening a terminal with Ctrl+E and running term bash. Trace how Alt+, and Alt+. are handled while inside a terminal. Done means a setting allows these shortcuts to navigate between micro tabs from terminal tabs without breaking terminal input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100