context.vim
targets.vim
Our great sponsors
context.vim | targets.vim | |
---|---|---|
14 | 48 | |
1,221 | 2,512 | |
- | - | |
1.5 | 0.0 | |
19 days ago | 6 months ago | |
Vim Script | Vim Script | |
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.
targets.vim
-
How to move really efficiently in Vim?
targets is nice too.
-
Two Weeks into Vim: A Transformation
The thing that has the biggest impact on me is ci”, ca”, da”, etc.. so I suggested getting used to using those.. and then you can get more pedantic with it using https://github.com/wellle/targets.vim
-
Is there a shorcut to select words in quotes including the quotes?
I do recommend getting, targets.vim https://github.com/wellle/targets.vim .. which unlocks the n(ext) and l(ast) verbs(?) ..ahhhh it’s REALLY REALLY good, I use 2in” like a lot
-
Text-object selection works forward, but not backwards, and I'm curious about that
In fact, as /u/Chillbrosaurus_Rex points out, there's a plugin, targets.vim, that expands on Vim's built-in text objects, and one of the things it does is to provide this kind of forward and reverse direction functionality.
- Installing argtextobj.vim
- How to delete inside backtick pairs, e.g JS template strings.
-
neovim plugins that have improved your workflow
Hey, I use targets.vim, how does it compare with that?
-
Leap.nvim: Neovim’s Answer to the Mouse
You might benefit from targets.vim, it works well with your thought process. It adds a bunch of new really useful editing targets (which should be builtin imo).
https://github.com/wellle/targets.vim
-
Is there a textobject for `object.` in `object.property.another`?
Thanks for the through explanation. I has seen that and considered using it in the past. Can I ask how it compares to https://github.com/wellle/targets.vim? Would you consider mini.ai a replacement or complementary?
-
Why does ci" work from elsewhere on a line, but it doesn't for ci[ , ci{ ?
This is provided by targets.vim, along with a bunch of other useful text objects.
What are some alternatives?
nvim-treesitter-context - Show code context
nvim-treesitter-textobjects
vim-lineletters - because letters are easier to touch type than numbers
wilder.nvim - A more adventurous wildmenu
django-plus.vim - :guitar: Improvements to the handling of Django related files in Vim
todoist.nvim - A todoist extension for neovim
vim-pythonsense - A Vim plugin that provides text objects and motions for Python classes, methods, functions, and doc strings.
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
vim-js-file-import - Import/require files in javascript and typescript with single button!
harpoon
topsy.el - Simple sticky header showing definition beyond top of window
paq-nvim - 🌚 Neovim package manager