Hey guys,
I am using LazyVim setup and I want to configure, that when I press the ‘w’-Key, it stops at custom characters like ‘$’.
I tried to configure it like this, but it did not work.
Any ideas how to do it?
Thanks
Felix
Hey guys,
I am using LazyVim setup and I want to configure, that when I press the ‘w’-Key, it stops at custom characters like ‘$’.
I tried to configure it like this, but it did not work.
Any ideas how to do it?
Thanks
Felix
First, consider using github discussions: Use https://github.com/neovim/neovim/discussions
For your query, I don’t think there is a way to change the default behaviour of those bindings. They navigate “words” which are defined in :help word
and :help WORD
. You could come up with a custom regex and create your own mapping, or use a plugin like leap.nvim to navigate with more precision.