targets.vim
Vim plugin that provides additional text objects (by wellle)
vim-textobj-entire
Vim plugin: Text objects for entire buffer (by kana)
targets.vim | vim-textobj-entire | |
---|---|---|
48 | 10 | |
2,512 | 417 | |
- | - | |
0.0 | 0.0 | |
6 months ago | almost 2 years ago | |
Vim Script | Vim Script | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
targets.vim
Posts with mentions or reviews of targets.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-01.
-
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.
vim-textobj-entire
Posts with mentions or reviews of vim-textobj-entire.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-05.
-
How do you "copy all"?
I agree that ggVG is fine but not with the custom leader to copy to clipboard part. If you're gonna have to remember something might as well use a text object instead, that way you get the full range of actions and not just the hardcoded mapping. I use kana/vim-textobj-entire that provides e for entire buffer, so copying would be yie and life is smooth. There's a bunch of text object plugins, just get one or write it yourself would be my advice.
- Installing argtextobj.vim
-
Need some help with keybindings.
I like the entire document text object: https://github.com/kana/vim-textobj-entire
- What extra and useful textobj does vim have?
-
Select all and move cursor back
You should make your life easier and get the entire text object plugin. This is the easiest way to act one the entire buffer with no surprises, although it still does change the cusror position sometimes, but I still recommend it.
-
What are your must-have vim/nvim extensions?
kana/vim-textobj-entire - Make entire buffer available as a text object
-
What are your favorite "compound" motions?
I now use entire text object for this with vie, which is more mentally coherent, for me, than ggVG.
-
FAVOURITE PLUGINS
kana/vim-textobj-entire adds e as text object for entire buffer
-
Had my 7 year old doing spelling words on VIM. Since she has not done much text editing it was effortless to get her thinking in "modes."
die (delete in entire) with the plugin vim-textobj-entire
-
How can I return to the last cursor position after using formatprg and gggqG?
I would suggest adding the text object "entire", either by making your own omap, or using a plugin like vim-textobj-entire.
What are some alternatives?
When comparing targets.vim and vim-textobj-entire you can also consider the following projects:
nvim-treesitter-textobjects
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
wilder.nvim - A more adventurous wildmenu
vim-textobj-user - Vim plugin: Create your own text objects
todoist.nvim - A todoist extension for neovim
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
pounce.nvim - Incremental fuzzy search motion plugin for Neovim
harpoon
vim-sort-motion - Vim mapping for sorting a range of text
paq-nvim - 🌚 Neovim package manager
deol.nvim - Dark powered shell interface for NeoVim/Vim8
targets.vim vs nvim-treesitter-textobjects
vim-textobj-entire vs tidy.nvim
targets.vim vs wilder.nvim
vim-textobj-entire vs vim-textobj-user
targets.vim vs todoist.nvim
vim-textobj-entire vs telescope.nvim
targets.vim vs Neovim-from-scratch
vim-textobj-entire vs pounce.nvim
targets.vim vs harpoon
vim-textobj-entire vs vim-sort-motion
targets.vim vs paq-nvim
vim-textobj-entire vs deol.nvim