context.vim
aerial.nvim
Our great sponsors
context.vim | aerial.nvim | |
---|---|---|
14 | 34 | |
1,221 | 1,467 | |
- | - | |
1.5 | 8.7 | |
19 days ago | 10 days ago | |
Vim Script | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
context.vim
- What's this type of plugin called? (it shows the structure of code)
-
I have reached Vim nirvana
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.
-
Plugin to show current function?
I think that something like this https://github.com/wellle/context.vim is what you are looking for
-
Scrolloff & start/end of file
https://github.com/wellle/context.vim does something very similar to what you are asking for. You can probably tweak it according to your needs.
-
Equivalent of context.vim plugin for vscode
I've recently started using vscode after using vim for many years, and one thing that I miss is the context.vim plugin which shows the function signature at the top of the screen when you scroll.
- Would love to see this 'sticky function header" as an extension in VScode
-
Is there a plugin that does something similar to this new feature in xcode ?
context.vim for those not using treesitter
- Get a symbol's context
- Any plugin to always see current function signature?
-
Package like context.vim
I ran across context.vim https://github.com/wellle/context.vim, which is basically a sticky header, where your cursor is.
aerial.nvim
-
What's this type of plugin called? (it shows the structure of code)
I tried aerial.nvim the other day and it's pretty cool. Haven't tried lspsaga yet so I'm not sure if it fits the same purpose.
-
Configuration passed to plugin's setup is not persistent
I am using aerial found here and I really like it except that when I press a function, it doesn't close the window. And I had thought I fixed it with
-
How do you automatically switch focus to the newly opened aeiral buffer?
I am referring to the aerial plugin found [here[(https://github.com/stevearc/aerial.nvim)
-
How do you jump to the beginning of a function
I use https://github.com/stevearc/aerial.nvim, it knows which is the current function. I currently open the telescope display and just press "enter", but AerialPrev would work just as well.
-
Please inform me of the plugin(s) enabling these two features
First one could be lualine and Aerial.
-
Navigation between functions
I also use ]m, but it’s not a very good way to choose and move to functions quickly and with intention. Options include aerial.nvim, symbols-outline.nvim, and the new nvim-navbuddy, from the developer who made nvim-navic.
-
Introducing nvim-navbuddy! A simple popup window that provides breadcrumbs like navigation feature and more!
This would be amazing if i could open it in a buffer beside (or under...?) my current. Something akin to aerial.nvim.
- Neovim task-focused interface
-
Getting outline of manpage
Yup! Aerial.nvim supports man pages, LSP, treesitter, and markdown for outlining
-
AstroNvim/AstroNvim: AstroNvim is an aesthetic and feature-rich Neovim config
AstroNvim is using aerial.nvim which is a great code outline plugin. It has several supported backends on top of LSP and Treesitter it also supports Man page structure and Markdown structure explicitly. We also use the API for building the breadcrumbs at the top of each window as well!
https://github.com/stevearc/aerial.nvim
What are some alternatives?
nvim-treesitter-context - Show code context
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
targets.vim - Vim plugin that provides additional text objects
lsp-inlayhints.nvim
vim-lineletters - because letters are easier to touch type than numbers
overseer.nvim - A task runner and job management plugin for Neovim
django-plus.vim - :guitar: Improvements to the handling of Django related files in Vim
nvim-navic - Simple winbar/statusline plugin that shows your current code context
vim-pythonsense - A Vim plugin that provides text objects and motions for Python classes, methods, functions, and doc strings.
wildfire.vim - Smart selection of the closest text object
vim-js-file-import - Import/require files in javascript and typescript with single button!
tagbar - Vim plugin that displays tags in a window, ordered by scope