On 2013-02-18, Christian Brabandt wrote:
> Bram,
> one of my annoyances with vim currently is, that when using n/N for 
> searching the direction depends on the previous search command. But I 
> usually forget if I initially used / or ? and then my brain gets stuck 
> whether I need to press n to search backwards or N. (e.g. I start a 
> search backwards using '?' and want to go further upwards and press 
> routinely 'N', but this moves back downwards again).
> 
> I find it easier to know that n searches downwards while N searches 
> upwards, since I usually only know whether I want to go further down or 
> up, so I can reliably hit n to go further down and N to go further up to 
> the next match.
> 
> This is what the attached patch enables, by adding the new flag 'N' to 
> the 'cpo' setting.

Won't that break any plugins that use 'n' or 'N' after a reverse
search?

I agree that the proposed behavior would be less confusing than the
current behavior, but changing it in any way that would break
existing scripts seems like a non-starter.

Regards,
Gary

-- 
-- 
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/groups/opt_out.


Raspunde prin e-mail lui