Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There are a couple of plugins that do this.

For vim: https://github.com/wellle/context.vim

For neovim (much higher performance in my experience): 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.




> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: