lambdalisue/vim-fern

Fern's window selector is active when Fern is the only open window

Open

#535 创建于 2025年8月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Vim Script (50 fork)github user discovery
enhancementgood first issue

仓库指标

Star
 (1,353 star)
PR 合并指标
 (PR 指标待抓取)

描述

I am using Fern like so: Fern . -reveal=% -stay -drawer -toggle

When the buffer list is not empty but Fern is the only window, <Plug>(fern-action-open:select) still triggers the internal window selector. Strangely the indicator for the window is 28.

If I press a it replaces the Fern buffer as expected, but if i press b the Fern buffer remains while my cursor is now hidden somewhere else, not sure what's going on.

Expected behavior: <Plug>(fern-action-open:select) should replace the fern buffer if Fern is the only window rather than calling internal window selector

Thank you for the great plugin

贡献者指南