diff options
-rw-r--r-- | development.md | 1 | ||||
-rw-r--r-- | src/status.rs | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/development.md b/development.md index 1e6a190..ad95d98 100644 --- a/development.md +++ b/development.md @@ -571,6 +571,7 @@ New view: Tree ! Toggle with 't', fold with 'z'. Navigate normally. - [x] FIX: copy / move while existing file already exist use another name - [x] Jump mode (display flagged files) should allow to delete / trash the flagged files - [x] binary preview also display parsed ASCII strings +- [x] skim fuzzy find (ctrl-f) starts from current dir, not current selected file ## TODO diff --git a/src/status.rs b/src/status.rs index 5b588cc..5a7ccdd 100644 --- a/src/status.rs +++ b/src/status.rs @@ -211,11 +211,8 @@ impl Status { pub fn skim_output_to_tab(&mut self) -> Result<()> { let skim = self.skimer.search_filename( self.selected_non_mut() - .selected() - .context("skim: no selected file")? - .path - .to_str() - .context("skim error")?, + .path_content_str() + .context("Couldn't parse current directory")?, ); let Some(output) = skim.first() else { return Ok(()); |