3 ms·
There are a couple of plugins that do this. For vim: https://github.com/wellle/context.vim https://github.com/wellle/context.vim For neovim (much higher perfo
by lancebeet 4y ago
There are a couple of plugins that do this.
For vim: https://github.com/wellle/context.vim https://github.com/wellle/context.vim
For neovim (much higher performance in my experience): https://github.com/nvim-treesitter/nvim-treesitter-context https://github.com/nvim-treesitter/nvim-treesitter-context
I believe there's now also a VS code plugin for the same behavior, but I don't know what it's called.
- ndand 4y ago> I believe there's now also a VS code plugin for the same behavior, but I don't know what it's called. It's called "sticky scroll". It's a relatively new feature of VS Code.
- pjot 4y agoIt actually ships with vscode! https://code.visualstudio.com/updates/v1_70#_editor-sticky-scroll https://code.visualstudio.com/updates/v1_70#_editor-sticky-s...