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

feature: support remapping ; and , #96

Closed
1 task done
j-hui opened this issue Jun 29, 2023 · 0 comments · Fixed by #86
Closed
1 task done

feature: support remapping ; and , #96

j-hui opened this issue Jun 29, 2023 · 0 comments · Fixed by #86
Labels
enhancement New feature or request

Comments

@j-hui
Copy link
Contributor

j-hui commented Jun 29, 2023

Did you check the docs?

  • I have read all the flash.nvim docs

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

I personally nnoremap ; : so that I don't have to hold shift to activate the command line. Instead, I like to map ; and , to H and L.

However, flash.nvim does not allow me to do this cleanly (i.e., without worrying about recursive mappings).

Describe the solution you'd like

I'd like to be able to remap the ; and , keys.

Describe alternatives you've considered

I took a look at plugins/char.lua and it seems like the ; and , keys (as well as f/F/t/T) are hard-coded in there.

With sneak.vim, I can do something like:

  map H <Plug>Sneak_;
  map L <Plug>Sneak_,

Additional context

No response

@j-hui j-hui added the enhancement New feature or request label Jun 29, 2023
j-hui added a commit to j-hui/flash.nvim that referenced this issue Jun 29, 2023
@folke folke closed this as completed in c0c006a Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant