-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Hi,
First, thanks for this plugin, I use it litterally every day and it made working with tmux a real pleasure.
One thing I miss, though, is the ability to have a bit of context around the matched string. I was wondering if it would be possible to bind a key to a new action that would make it possible to see the occurences of a string in context.
The behavior would be the following one, expressed in Gherkin :
Feature: Navigate to a found string
Scenario: User search for a string in a one pane window
Given I'm in a tmux pane and I just executed a phpunit command
And the terminal has been filled with test failures originating from two different files named MyFile.php file in different folders
When I launch extracto
And I type the characters MyFile
And I switch to match a path with Ctrl-F
And I see both matched file paths
And I press the configured shortcut to navigate to the occurences of the first match
Then the pane in question should scroll to the most recent occurence in the pane
And the occurence should be highlighted
When I press <Enter>
Then the file should be open in the editorEvidently, when the window contains several panes, there should be a way to cycle through it all, but before entering into those details, I'd like to know if that's something you'd consider adding to extrakto ?
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels