My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3387: No way back to diff chunk search from regular search
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by felix.h...@sonymobile.com, May 22, 2015
Affected Version: 2.10.4

What steps will reproduce the problem?
1. Bring up a side-by-side diff view.
2. Use 'n' for jumping to the next diff chunk.
3. Do a search using the build-in search.
4. Press 'n' for getting to the next search match.
5. Now try to do a diff chunk jump using 'n' again...

What is the expected output? What do you see instead?
I'd like to get out of search mode using Esc or similar, so that I can go back to jumping between diff chunks again.
Either that, or I'd like another keyboard shortcut for 'next diff chunk'.


Please provide any additional information below.

May 25, 2015
Project Member #1 David.Os...@gmail.com
SBS view is using VIM key map. I don't use VIM, but my favorite searh engine teling the answer to the query: "reset search pattern": [1].

:noh[lsearch]		Stop the highlighting for the 'hlsearch' option.

Just type ":noh", enter and 'n' navigates to the next duff chunk.
Another option is to reset the search pattern is: Ctrl+F, /, Esc.

[1] http://vimdoc.sourceforge.net/htmldoc/pattern.html#search-commands
Status: AwaitingInformation
May 26, 2015
#2 felix.h...@sonymobile.com
Thank you for your reply.

I do use vim daily, and I would expect Esc to work, since that's my goto-key in vim whenever I exit a mode. But unfortunately it doesn't.

Ctrl+F seems like a workaround to me, and :noh is kind of obscure to most users I would say :)

Regards,
Felix
Jun 10, 2015
#3 felix.h...@sonymobile.com
So, still in AwaitingInformation-state? Any more info we require?
Jun 11, 2015
Project Member #4 gustaf.l...@sonyericsson.com
(No comment was entered for this change.)
Status: New
Sign in to add a comment

Powered by Google Project Hosting