folke / flash.nvim

Navigate your code with search labels, enhanced character motions and Treesitter integration
Apache License 2.0
2.47k stars 33 forks source link

bug: Conflicts with another plugin: vim-arpeggio #292

Closed ariel-frischer closed 2 months ago

ariel-frischer commented 10 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

NVIM v0.10.0-dev-1794+ga8ee4c7a8-Homebrew

Operating system/version

MacOS Ventura Version 13.4.1

Describe the bug

The f and F just override my other arpeggio bindings. I would like to use both but may not be possible.

Steps To Reproduce

  1. Install vim-arpeggio, add a chord that uses f.
  2. Make sure the chord works to do some action.
  3. Install flash.nvim and see that the f key overrides the chord.

Expected Behavior

I'd like arpeggio key chord to work if I press a chord, but I want flash.nvim if I press only one key f.

Repro

-- Lazy Plugins
{ "kana/vim-arpeggio", lazy = false }
{ "folke/flash.nvim", event = "VeryLazy", opts = { } }

local function arp(...)
  local args = { ... }
  return vim.call("arpeggio#map", args[1], args[2], args[3], args[4], args[5])
end

arp("n", "s", 0, "kf", ":lua print('hi')<CR>")
github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 7 days with no activity.