vim-textobj-comment
Vim text objects for comments (by glts)
targets.vim
Vim plugin that provides additional text objects (by wellle)
vim-textobj-comment | targets.vim | |
---|---|---|
5 | 48 | |
131 | 2,519 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | 7 months ago | |
VimL | 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.
vim-textobj-comment
Posts with mentions or reviews of vim-textobj-comment.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-25.
-
What are all the accepted "inner" motion arguments?
Just to add to that, there are also various plugins that give you additional text objects, such as: - ii for indent levels (https://github.com/kana/vim-textobj-indent) - iz for folds (https://github.com/kana/vim-textobj-fold) - if for functions (https://github.com/kana/vim-textobj-function) - ic for comments (https://github.com/glts/vim-textobj-comment) - User-defined text objects (https://github.com/kana/vim-textobj-user)
- Installing argtextobj.vim
-
How can I delete / clear a block of comments?
Is it doable without using regex? I also tried to install https://github.com/glts/vim-textobj-comment and Packer can't install it.
-
FAVOURITE PLUGINS
glts/vim-textobj-comment adds c as text object for comment block
-
Selecting Python comment
Not tested, but glts/vim-textobj-comment looks like it does what you want.
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.
What are some alternatives?
When comparing vim-textobj-comment and targets.vim you can also consider the following projects:
argtextobj.vim - Text-object like motion for arguments
nvim-treesitter-textobjects
vim-textobj-entire - Vim plugin: Text objects for entire buffer
wilder.nvim - A more adventurous wildmenu
vimtex - VimTeX: A modern Vim and neovim filetype plugin for LaTeX files.
todoist.nvim - A todoist extension for neovim
vim-textobj-user - Vim plugin: Create your own text objects
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
vim-ultest - The ultimate testing plugin for (Neo)Vim
harpoon
nvim-dap - Debug Adapter Protocol client implementation for Neovim
paq-nvim - 🌚 Neovim package manager
vim-textobj-comment vs argtextobj.vim
targets.vim vs nvim-treesitter-textobjects
vim-textobj-comment vs vim-textobj-entire
targets.vim vs wilder.nvim
vim-textobj-comment vs vimtex
targets.vim vs todoist.nvim
vim-textobj-comment vs vim-textobj-user
targets.vim vs Neovim-from-scratch
vim-textobj-comment vs vim-ultest
targets.vim vs harpoon
vim-textobj-comment vs nvim-dap
targets.vim vs paq-nvim