atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Feature Request: Command Context Preview

Open xy-241 opened this issue 1 year ago • 0 comments

Description: Enhance the search functionality by introducing a command context preview option. When users search for a specific command, the system should display not only the relevant command but also include the commands typed immediately before and after it.

Use Case: Users often recall a command's context rather than its exact name. With the command context preview, users can quickly identify the desired command by reviewing its neighboring commands, improving the efficiency of the search process.

Benefits:

  • Improved Recall: Users can more easily locate commands by seeing them in the context of their surrounding commands.
  • Time Savings: Reduces the time spent searching for commands, especially when users remember the sequence of actions leading up to or following a specific command.
  • Enhanced User Experience: Adds an extra layer of usability, making the command search feature more intuitive and user-friendly.

Implementation: Introduce a toggle button or checkbox in the search interface labeled "Show Command Context." When enabled, the search results will include the matched command along with the commands typed immediately before and after it.

xy-241 avatar Jan 30 '24 05:01 xy-241