Replies: 2 comments 6 replies
-
|
It seems like a really confusing and bad idea. You can simply remap the keys however you want. For example: go_out = "H",
go_in = "L",
go_out_plus = "<C-h>",
go_in_plus = "<C-l>", |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the idea! This sounds interesting (and not a bad idea per se, @drowning-cat). I've definitely been burnt by this use case in the past. However, my suggestion is to use different forms of horizontal navigation instead of There are also other ways of mitigating this:
So all in all, I think adding this type of complexity to 'mini.files' doesn't fit the whole 'mini.nvim' design, since there are solid workarounds. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I really love mini.files — it’s incredibly fast for navigating directory structures and offers the same intuitive editing style that I enjoy from oil.nvim.
There’s one area, though, where I often run into friction: editing file or directory names that require horizontal movement. When I’m trying to move the cursor left or right during a rename, I occasionally press h or l in normal mode out of habit. Since those keys are bound to navigation/open actions in mini.files, this can cause accidental directory jumps or opening files unintentionally.
Doing simple operations like delete or move feels very smooth, but more precise text-editing inside a filename sometimes becomes tricky because of these conflicting key behaviors.
Feature Proposal: “Edit Mode” Toggle
I think it would be extremely useful to have a keybinding that:
• Locks mini.files into a dedicated “edit mode”, where its normal navigation mappings (like h/l) are temporarily disabled,
• Allows the user to freely use full normal-mode text editing keys to adjust file/dir names,
• And then, with another toggle, exit edit mode and return to regular mini.files navigation behavior.
This would let users make precise edits without worrying about triggering unintended file-navigation actions.
Beta Was this translation helpful? Give feedback.
All reactions