oil.nvim
oil.nvim copied to clipboard
feature request: set cursor at beginning of name column when going in insert mode with o or O
Did you check existing requests?
- [x] I have searched the existing issues
Describe the feature
When i have a directory open, and i want to create a new file going in insert mode with o or 0 it would make sense to set the cursor position at the beginning of column name because all the input of line is considered as a filename.
Cursor position after going in insert mode with o. Now: Apr 09 02:37 4.1k rwxr-xr-x .git/ |
Desired: Apr 09 02:37 4.1k rwxr-xr-x .git/ ________________________|
Provide background
I think it would make sense.
What is the significance of this feature?
nice to have
Additional details
No response
This is technically doable using extmarks with inline virtual text. This is a slight UI improvement, so I would review a PR if it can be done with very low complexity.