flash.nvim icon indicating copy to clipboard operation
flash.nvim copied to clipboard

bug: unexpected behavior occurs when i press the keystroke to move the cursor in lua

Open davidsanchez222 opened this issue 8 months ago • 0 comments

Did you check docs and existing issues?

  • [x] I have read all the flash.nvim docs
  • [x] I have updated the plugin to the latest version before submitting this issue
  • [x] I have searched the existing issues of flash.nvim
  • [x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.10.4

Operating system/version

macOS Sequoia 15.3.2

Describe the bug

https://github.com/user-attachments/assets/230dee89-2563-4faa-81be-cc76f2fd8afe

There is 2 unexpected behaviors when editing lua files. (problem doesn't seem to appear in other languages)

  1. Seeing tutorials on YouTube, I should only have to press 's' once to see the available keystrokes. Currently, I have to press it twice.
  2. When I do fullfill a keystroke, it pastes the contents of my clipboard for some reason.

Steps To Reproduce

press s and s. select a key to go to.

Expected Behavior

  1. I should only have to press "s" once as opposed to twice to see the flash.jump() keystroke options.
  2. When I fulfill a keystroke, it should move my cursor there and not paste the contents of my clipboard.

davidsanchez222 avatar Apr 18 '25 00:04 davidsanchez222