qvacua / vimr

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

Ability to reveal current buffer in file browser. #960

Closed jaanauati closed 2 years ago

jaanauati commented 2 years ago

https://github.com/qvacua/vimr/issues/953

This pr adds the new command :VimRRevealCurrentBuffer which reveals the current open buffer in the file browser.

Usage :VimRRevealCurrentBuffer

Examples: autocmd BufWinEnter * VimRRevealCurrentBuffer The line above makes it happen automatically: each time a buffer is opened, the associated file is displayed in the file browser.

jaanauati commented 2 years ago

@qvacua this is ready for review.