chrisgrieser / nvim-spider

Use the w, e, b motions like a spider. Move by subwords and skip insignificant punctuation.
MIT License
667 stars 13 forks source link

Feature Request: Add option to use default keymaps #27

Closed kevintraver closed 1 year ago

kevintraver commented 1 year ago

Feature Requested

Would be nice to just use the default keymaps if we like them, therefore reducing the need to explicitly adding the keymaps in config.

Relevant Screenshot

No response

Checklist

chrisgrieser commented 1 year ago

I have thought about that, too, but the problem with that is that some people like to overwrite the default w, e, b motions, while others like to use them as alternative movements, e.g. <leader>w, <leader>e, <leader>b, or even gw, ge, gb

So there are no good "defaults" I could go for. But since it literally is only 4 lines of code you can copypaste from the repo, I don't think it's a big deal to let the user set their own keymaps.

kevintraver commented 1 year ago

That makes sense. Thanks for the response