lambdalisue/vim-fern
View on GitHubReveal doesn't work with slach (`/`) separated path on Windows
Open
#478 opened on Jul 5, 2023
bughelp wantedwindows
Repository metrics
- Stars
- (1,353 stars)
- PR merge metrics
- (PR metrics pending)
Description
Thanks for this plugin. I recently switched from nerdtree, it is so much faster.
Here is the issue. If I open a file via Fern explorer or Telescope search, then I can trigger Fern . -reveal=% -drawer -toggle to reveal current file. However, if the buffer is opened via diffview, then reveal won't work, it will always open the root directory and focus the root folder.
Steps to open a buffer via diffview:
- Setup up the plugin:
use "sindrets/diffview.nvim" - Open a git project and edit something
- Run
:DiffviewOpen masterto diff against master branch - Press
gfto go to selected file for editing - In current buffer try to trigger Fern command to reveal it in directory