qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.62k stars 218 forks source link

question: is there a way to reveal the current buffer in the file explorer? #953

Closed jaanauati closed 2 years ago

qianwch commented 2 years ago

The first round little button above the tree pane.

qianwch commented 2 years ago

Is there any automatic way, that's what I want to know. I really like the native file explorer

jaanauati commented 2 years ago

https://github.com/qvacua/vimr/pull/960 was merged and the most recent release now has the command: VimRRevealCurrentBuffer, example: :VimRRevealCurrentBuffer

@qianwch in regards to your question, the following should do it: autocmd BufWinEnter * VimRRevealCurrentBuffer