cbochs / cbochs/grapple.nvim

feature: option for the floating window's keymaps

Open
#172 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Lua
Stars
716
Forks
33
PR merge metrics
No merged PRs in 30d

Description

### Did you check the docs?

- [X] I have read the Grapple docs

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

I want to rebind `Select (split)` and `Select (vsplit)`.

### Describe the solution you'd like

> ```
> require("oil").setup({
> ...,
> keymaps = {
> ["g?"] = "actions.show_help",
> [""] = "actions.select",
> [""] = { "actions.select", opts = { vertical = true }, desc = "..." },
> ...
> },
> ...
> })
> ```

Something similar to [oil.nvim](https://github.com/stevearc/oil.nvim?tab=readme-ov-file#options).

### Describe alternatives you've considered

None.

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the plugin setup handles keymaps and how the floating window defines the Select (split) and Select (vsplit) mappings. Compare the requested configuration with the existing setup and confirm that both mappings can be rebound with per-action options; done when the configured mappings control those actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
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.