Closed rayrutjes closed 6 years ago
Hello @rayrutjes Any plan on merging this? Since it's definitely a nice feat and something I would use!
I'm not convinced about this PR @Jackymancs4 . It seems like you can easily delete the current repository context by hitting the return key.
I do realize this PR is convenient when you already typed something and you want to search in all repositories, but I don't want it to affect all other users that would now have to hit the arrow down key once more to get to their result.
I see. Well, it's a good point.. Would you mind to take a look at #76? I think it works pretty well, and the whole feature (in a way or another) greatly improve my workflow.
An idea is to put in on the arrow up key:
input | |
---|---|
search in all repos | |
x | search in this repo |
result 1 | |
result 2 | |
result 3 | |
result 4 |
People will still have the key order they expect, and it will be simple to search in all repos.
The other option (I think already mentioned) would be to backspace if your cursor is at the first position to switch, like the real GitHub search behaviour.
Solved by #76 .
Closes: #69
This adds an option to search everywhere instead of in the current repository.