mcchrish / nnn.vim

File manager for vim/neovim powered by n³
BSD 2-Clause "Simplified" License
645 stars 24 forks source link

explorer-toggle: document changes and code-cleanup #139

Closed N-R-K closed 2 years ago

mcchrish commented 2 years ago

I see some problem when closing the explorer with q. Running :NnnExplorer does not open a new explorer. Probably need to clear the variable on exit.

N-R-K commented 2 years ago

Think we can move this inside explorer_create_on_exit_callback ?

let t:explorer_winid = 0
N-R-K commented 2 years ago

Tested it out that seems to fix the issue. I'll wait a bit more to see if there's any other problems and fix them before opening a new PR.