nvimdev / nvimdev/lspsaga.nvim

shuttle keymap will not restore after close finder view

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

Nobody has claimed this yet.

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

Description

Describe the bug

shuttle keymap will not restore after close finder view

Steps to reproduce
        finder = {
            left_width = 0.3,
            right_width = 0.6,
            default = "ref",
            silent = true,
            keys = {
                vsplit = "<Tab>",
                shuttle = "<CR>",
                -- toggle_or_open = "<CR>",
            },
        },

I tryed many keymap, all of them will be simply deleted if I close finder view, and this is specific to shuttle, other options works fine

Expected behavior

restore keymap after closing window

Neovim version (nvim -v)

0.10

lspsaga commit

db74412e0282505ea1e63a42060728fb74c1968e

Terminal name/version

iterm2

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

Reproduce the issue with the provided finder configuration on Neovim 0.10 and the recorded lspsaga commit. Trace what happens to the shuttle keymap when the finder view closes; done means the keymap is restored while the other finder options continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.