How to exit Tig search view?

362 Views Asked by At

In Tig, press the </> key to enter the search view. But if I accidentally press it, how should I quit?

I tried the ESC and Backspace to no avail.

I made a video about it.

https://i.stack.imgur.com/qiu2e.jpg

2

There are 2 best solutions below

1
scebotari66 On BEST ANSWER

Use Ctrl+C to exit the search prompt

4
Turtlean On

You can also hit enter to just run the search (doesn't matter if it's an invalid one). You'll just receive a No match found for "your search" message while recovering the focus on your view