Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • meld meld
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • meldmeld
  • Issues
  • #491
Closed
Open
Issue created Aug 06, 2020 by Leo Wandersleb@Giszmo

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

  1. ALT-↓, Enter to open next file with diff
  2. For example "CTRL-F {"
  3. "CTRL-G until end of file
  4. "CTRL-w" to close file
  5. ALT-↓, Enter to open next file with diff
  6. For example "CTRL-F {"
  7. "CTRL-G until end of file
  8. "CTRL-w" to close file
  9. ...

Expected behaviour

  1. ALT-↓, Enter to open next file with diff
  2. "CTRL-G until end of file, repeating my prior search for "{"
  3. "CTRL-w" to close file
  4. ALT-↓, Enter to open next file with diff
  5. "CTRL-G until end of file
  6. "CTRL-w" to close file
  7. ...

Even better

  1. ALT-↓, Enter to open next file with diff
  2. "CTRL-G until end of file, repeating my prior search for "{"
  3. "CTRL-G jumps to next file from folder diff pane
  4. ...
Assignee
Assign to
Time tracking