stevearc / aerial.nvim

Neovim plugin for a code outline window
MIT License
1.69k stars 83 forks source link

How do you prevent the Aerial split pane from becoming a buffer when the cursor is inside? #372

Closed niamleeson closed 4 months ago

niamleeson commented 4 months ago

I often accidentally leave the cursor inside the Aerial split pane and switch to a different buffer and the pane ends up becoming that buffer. How do I prevent this from happening?

stevearc commented 4 months ago

Check out https://github.com/stevearc/stickybuf.nvim/ Or if you're on Neovim 0.10+, you can set winfixbuf on the aerial window

magras commented 4 months ago

@stevearc, with the release of 0.10 does it make sense to set winfixbuf automatically in aerial?