Make the search feature remember the last search term
When reviewing code, I often am interested in occurrences of specific terms, so I want these be highlighted to inspect the surrounding code.
(For security audits, reviewing UI templates I'm mostly interested in code inside those templates. Dozens of files means dozens of times I enter "CTRL-F, {".
Current behaviour
- ALT-↓, Enter to open next file with diff
- For example "CTRL-F {"
- "CTRL-G until end of file
- "CTRL-w" to close file
- ALT-↓, Enter to open next file with diff
- For example "CTRL-F {"
- "CTRL-G until end of file
- "CTRL-w" to close file
- ...
Expected behaviour
- ALT-↓, Enter to open next file with diff
- "CTRL-G until end of file, repeating my prior search for "{"
- "CTRL-w" to close file
- ALT-↓, Enter to open next file with diff
- "CTRL-G until end of file
- "CTRL-w" to close file
- ...
Even better
- ALT-↓, Enter to open next file with diff
- "CTRL-G until end of file, repeating my prior search for "{"
- "CTRL-G jumps to next file from folder diff pane
- ...