chrisgrieser / nvim-spider

Use the w, e, b motions like a spider. Move by subwords and skip insignificant punctuation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Cannot bind to e.g. "<leader>w"

Mithrandir2k18 opened this issue · comments

Bug Description

In vim I am using CamelCaseMotion and bind those to e.g. "w" when I want camelcase motion and leave w as it is by default. This also works with delete/change, so when my Cursor is at the start of "CamelCase" and I want to change it to "PascalCase" I can do "cwPascal" to do that. However when I try this in neovim either with CamelCaseMotion.vim or your plugin, when I type "c" it basically does the same thing as "s", it deletes the character I am on and puts me into insert mode right away.

Reproduction & Sample Text

before: CamelCase
----------^--------------
after: PascalamelCase
expected: PascalCase

neovim version

v0.10.0-dev

Special Settings

No response

Make sure you have done the following

However when I try this in neovim either with CamelCaseMotion.vim or your plugin, when I type "c" it basically does the same thing as "s", it deletes the character I am on and puts me into insert mode right away.

Well, that appears to be an issue with your nvim config? Sounds like you either have something mapped to c in your config, or some other plugin interfering. Either way, that does not appear to be related to this plugin.

I'd ask in a more general forum, e.g. the nvim subreddit or discourse about it, since this is only for issues related specifically caused by this plugin.

kk, will do