lapce / lapce/lapce

Add previous/next tab/list item commands that don't wrap around

Open
#2,899 0 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 feateure request related to a problem? Please describe.

First/last tabs are useful mental limits of tab/list organizations. Wrapping around breaks those limits

Describe the solution you'd like

Add an alternative to previous_editor_tab/next_editor_tab/next_window_tab/previous_window_tab commands that don't wrap around, but rather stop at the first/last tab
Same for list navigation commands (like down/up arrow keys when in the list of "goto line" list of lines)

Describe alternatives you've considered

Doing tab switching slowly to visually notice the beginning/end

Additional context

N/a

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 tracing the command definitions and handlers for previous_editor_tab, next_editor_tab, next_window_tab, and previous_window_tab, then find the corresponding list-navigation entry points. Done means alternative commands move through tabs and lists without wrapping, stopping at the first or last item.

Written by the indexing model from the issue text.

Assessment

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