Enhancement Proposal: Oil-Style Buffer-Based File Explorer #12896
Unanswered
emanuele-em
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The recent addition of the new file explorer, inspired by Telescope File Browser, introduces dedicated commands for managing files and directories. While this approach provides an integrated way to explore the file system, I believe a buffer-based file explorer, similar to how oil.nvim operates, would be a more natural fit for Helix’s philosophy.
Rationale
Helix emphasizes consistency in navigation and editing across different contexts. A buffer-based file explorer would allow users to interact with files and directories using the same movement commands and actions they are already familiar with, eliminating the need for dedicated file management commands or additional keybindings.
Key Advantages of a Buffer-Based File Explorer:
Proposed Behavior
:oil
, to open the current directory as a buffer.Addressing Potential Concerns
Some may argue that a buffer-based approach does not align with Helix’s vision. However, Helix already embraces a text-centric approach to interaction, and file exploration is fundamentally a form of structured text navigation (for example you can already open configurations with
:config-open
). By treating directories as editable buffers, we remain consistent with this philosophy rather than introducing a separate command paradigm, better suited for file picking and quick movements.oil.demo.mp4
Beta Was this translation helpful? Give feedback.
All reactions