nvimdev / nvimdev/lspsaga.nvim

Support `:tab drop` strategy for opening files

Open
#1,418 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
3.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
When using features like peek preview and goto preview etc, it should be possible to make the tabdrop strategy the default one, so if there is a tab with a buffer which already contains this file then the user should be shown that window, not a new window.

:tab drop

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 locating the peek preview and goto preview entry points, then trace how they open or focus files in windows. Compare that behavior with the requested :tab drop strategy; done means an existing tab containing the file is focused instead of opening a new window in those preview flows.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.