microsoft / microsoft/edit

Add key binding for ALT + ` (~) to cycle through open files

Open
#767 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

I noticed that when I edit multiple files the only way to cycle between open files is to do the following:

ALT + v
s "Focus Statusbar" or f "Go to file" or CTRL + P
#naigate to file with arrow keys 
enter 

An alternative to reduce the number of keystrokes could be

ALT + ` (also the ~ key)

This could either cycle directly between all open files or show the open file window.
I would be happy to take a look at adding this if this is a desired feature (and it isn't already present)

Contributor guide

Open the contributing guide

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

No files, tests, or entry points are named. Start by locating the editor's key-binding and open-file navigation handling, then determine whether the shortcut should cycle files or open a file window. Done means ALT + ` (also ~) provides the agreed open-file navigation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
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.