stevearc / oil.nvim

Neovim file explorer: edit your filesystem like a buffer
MIT License
3.4k stars 92 forks source link

feature request: Constrain cursor in insert mode #371

Open ayles opened 2 months ago

ayles commented 2 months ago

Did you check existing requests?

Describe the feature

As I understand, currently cursor is constrained in normal and visual modes (CursorMoved). Is it possible to constrain it in insert mode (CursorMovedI, I believe)?

Provide background

I use arrows on my keyboard a lot and current behavior is a bit inconsistent with normal mode, especially when dealing with concealed column with entry index (it can be "walked left" by cursor and then should be "unwalked right").

What is the significance of this feature?

nice to have

Additional details

No response