You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love to have a mode where the preview refreshes automatically on CursorMove (including refreshing/staying active, after cd'ing to new dir)
A non-working autocmd-based solution that I've tried but then realized that this won't work since autocmds don't have a ft property so not sure how to get it to restrict to the oil window
But I hope this conveys the idea. In MacOS finder you can ctrl-space to start a preview and c-n, c-p, and then ESC to stop preview - would be cool to be able to do the same here via oil specific <esc> and <c-space> mappings for turning on/off the live preview
Provide background
Very similar in spirit to #41 - trying to improve speed at which I can explore novel repos
Additional details
No response
The text was updated successfully, but these errors were encountered:
I added this as the default behavior. If anyone finds the auto-update behavior intrusive, put in a request and I'll add a config option to disable it.
Just for your education, the way you could do this yourself is by creating a FileType autocmd that runs on oil buffers, and then inside of that create a buffer-local CursorMoved autocmd.
Did you check existing requests?
Describe the feature
I'd love to have a mode where the preview refreshes automatically on CursorMove (including refreshing/staying active, after cd'ing to new dir)
A non-working autocmd-based solution that I've tried but then realized that this won't work since autocmds don't have a
ft
property so not sure how to get it to restrict to theoil
windowBut I hope this conveys the idea. In MacOS finder you can
ctrl-space
to start a preview andc-n, c-p
, and thenESC
to stop preview - would be cool to be able to do the same here via oil specific<esc>
and<c-space>
mappings for turning on/off the live previewProvide background
Very similar in spirit to #41 - trying to improve speed at which I can explore novel repos
Additional details
No response
The text was updated successfully, but these errors were encountered: