Skip to content

Add support for n N # * g* g##37

Open
toombs-caeman wants to merge 5 commits intopsliwka:masterfrom
toombs-caeman:master
Open

Add support for n N # * g* g##37
toombs-caeman wants to merge 5 commits intopsliwka:masterfrom
toombs-caeman:master

Conversation

@toombs-caeman
Copy link
Copy Markdown

if no count is given v:count is 0, which moves the cursor, making commands like n get stuck and N skip over matches on the same line.

v:count1 exists, but interferes with <C-D> and friends.

Also, because of :help function-search-undo, n won't re-highlight matches unless the relevant values are explicitly returned from the function and re-set.

@toombs-caeman
Copy link
Copy Markdown
Author

well this was supposed to be pinned to 6a51265. my bad

@basilgood
Copy link
Copy Markdown

I have been using @toombs-caeman fork for three months without any problems, in both vim and neovim.
n and N have such nice and smooth movement.
Maybe it's possible to consider this fork.
Thanks to both of you for such a good plugin... the best.

@opalmay
Copy link
Copy Markdown

opalmay commented Nov 24, 2022

I've merged new commits from upstream with this pull request https://github.com/opalmay/vim-smoothie

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

Successfully merging this pull request may close these issues.

3 participants