gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

auto_enable could use some refinement. #70

Open jhogendorn opened 9 months ago

jhogendorn commented 9 months ago

If you run auto_enable, you get the minimap following your focus around buffers, this is good :)

But if you close the minimap window, and then move to a new buffer, it comes back! This is obvious behaviour once you think about it a moment.

It would be good to have

IE if i turn it off for everything, it should stay off. if i turn it off for a buffer/window, it should not return if i navigate away and back.

adamency commented 8 months ago

Absolutely agreed. Currently Codewindow auto_enable behavior can definitely be considered bugged. From an end-user perspective, it is simply impossible to disable Codewindow at runtime with the conventional Vim ways, i.e. a shortcut or command. It keeps reappearing everywhere as soon as you change windows/buffers, and the only way to actually disabling it is to reconfigure the plugin entirely.