lapce / lapce/lapce

Shortcut to switch open tab left or right: ctrl+shift+`[` / ctrl+shift+`]`

Open
#3,383 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-feature
Dominant language
Rust
Stars
38.9k
Forks
1.3k
Avg merge
19m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

Chrome, Firefox, VSCode and some other apps have a shortcut to switch one tab to the left or one tab to the right: ctrl+shift+[ to activate the next tab to the left, ctrl+shift+] to activate the next tab to the right. (cmd instad of ctrl on Mac)

Describe the solution you'd like

Implement the above shortcut.

Describe alternatives you've considered

I believe that ctrl+shift+PageUp / ctrl+shift+PageDown also works. I just find the bracket version more convenient, especially on keyboards without PageUp/PageDown.

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

Start by locating Lapce's keyboard shortcut handling and the existing commands for moving between open tabs. Add the bracket shortcuts for the left and right tab commands, including the macOS modifier, then verify both directions and the existing PageUp/PageDown behavior in the editor.

Written by the indexing model from the issue text.

Assessment

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