Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy behavior when remapping 'v' #14

Open
jgregoire opened this issue Mar 16, 2023 · 0 comments
Open

Buggy behavior when remapping 'v' #14

jgregoire opened this issue Mar 16, 2023 · 0 comments

Comments

@jgregoire
Copy link

jgregoire commented Mar 16, 2023

Expected behavior: yarw copies a remote word

Actual behavior: yarw copies everything between cursor and leap target and autopastes it, despite setting paste_on_remote_yank = false

I eventually figured out that commenting out my remapping of 'p' to 'v' fixes the issue. Using legendary.nvim:

keymaps = {
    { 'v', 'p', mode = {  'n' }, opts = { noremap = true } },
},

causes the weird behavior. Took me a while to isolate this one!

Legendary keybinds are set before calling require('leap-spooky').setup()

Using latest version of leap and leap-spooky, nvim 0.8.3 and 0.9.0 nightly.

@jgregoire jgregoire changed the title Buggy behavior when remapping 'p' Buggy behavior when remapping 'v' Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant