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

Leap-remote: The result is different when the key starts with the verb #240

Open
abeldekat opened this issue Jul 10, 2024 · 0 comments
Open

Comments

@abeldekat
Copy link

Hello @ggandor,

Thanks for the amazing improvements! I like the combination of the filter and bidirectional search, as outlined in this reddit post

The observation below was initially added to issue Defaults: make (leap-forward) inclusive

I now think that the observation is not related to that issue...

vim.keymap.set({'n', 'o'}, 'gs', function ()
  require('leap.remote').action()
end)

Remote operations can be performed in two ways.
For example, yanking from another window, using s to complete the selection:

local test = "Select this including ( skip the rest from the starting bracket )"
  1. gs{leap to start of "Se}s (y
  2. ygs{leap to start of "Se}s (

The first approach yields "Select this including
The second yields "Select this including
The second approach does not include the last space.

Also, in the second approach, visual mode is not used.

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