codewindow.nvim icon indicating copy to clipboard operation
codewindow.nvim copied to clipboard

auto_enable could use some refinement.

Open jhogendorn opened this issue 2 years ago • 1 comments

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

  • the enable/disable flag work more globally
  • or have a more global, separate, option
  • or a clear way to disable/enable for a buffer/window

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.

jhogendorn avatar Nov 27 '23 02:11 jhogendorn

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.

adamency avatar Jan 12 '24 23:01 adamency