Greetings,
Trying to figure out if this is intentional or not. It is definitely
surprising given how the documentation (":h gn") is written.
Take the following text as an example.
> Word
>
>
> WORD
>
>
> WORD
>
>
> Word
To reproduce:
1. set ic scs
2. gg*gg
3. gn (observe selection is correct)
4. <Esc>j
5. gn (observe selection is NOT as expected)
So, gn/gN don't use 'smartcase' in the same way that 'n/N' do.
This is only one of the problems I observe here. Another has to do with
direction. When you search backward with "?word", using "n" will move forward
in the most recently used direction (i.e., backward in the file). "gn" ALWAYS
moves forward. Thus, it is not similar to "n". This same thing occurs when
you use the "#" command to search backward.
Let me know if these are considered bugs (I think they are). I don't want
to put in effort if the fix is considered unnecessary.
Thanks,
Jason Franklin
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.