targets.vim
Vim plugin that provides additional text objects (by wellle)
vim-swap
Reorder delimited items. (by machakann)
targets.vim | vim-swap | |
---|---|---|
48 | 6 | |
2,512 | 287 | |
- | - | |
0.0 | 0.0 | |
6 months ago | 8 months 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-swap
Posts with mentions or reviews of vim-swap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-18.
-
Which vim plugins do not have a lua equivalent yet?
Only one I use that hasn't been mentioned is a standalone vim-swap replacement. The existing ones all need treesitter (that I know of)
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-swap provides an easy way to swap delimited items. It also provides textobjects targeting them, so deleting an argument becomes as easy as da,
-
Does the Neovim team have any plan to develop "User Custom Modes"
I use this feature right now, and it simplifies a lot. I use t to open tabmode so I can create or destroy tabs easily. b, which I use more often, opens bufmode so I can switch the buffer in the current window, or delete it while preserving my layout. gs allows me to swap delimited items using hjkl. w is for visually switching between open splits. Etc etc
-
Is there a plugin that provides "di," in neovim?
I recommend machakann/vim-swap. This plugin provides the way to swap function parameters, and text-objects that can be used to select parameters:
-
anyone know an elegant way to swap the orders of two parameters in a function call? foo(bar, baz) becomes foo(baz, bar)
I've been using vim-swap for a while and it's simple enough: when on top of a delimited argument, you can hit g> or g< to swap right or left, respectively.
- iswap.nvim: Interactively swap function arguments, list elements, and more using tree-sitter!
What are some alternatives?
When comparing targets.vim and vim-swap you can also consider the following projects:
nvim-treesitter-textobjects
vim-exchange - Easy text exchange operator for Vim
wilder.nvim - A more adventurous wildmenu
iswap.nvim - Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.
todoist.nvim - A todoist extension for neovim
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
telescope-undo.nvim - A telescope extension to view and search your undo tree 🌴
harpoon
nvim-tabmode - A rewrite of Iron-E/vim-tabmode using Iron-E/nvim-libmodal
paq-nvim - 🌚 Neovim package manager
neovim - Vim-fork focused on extensibility and usability
targets.vim vs nvim-treesitter-textobjects
vim-swap vs vim-exchange
targets.vim vs wilder.nvim
vim-swap vs iswap.nvim
targets.vim vs todoist.nvim
vim-swap vs nvim-treesitter-textobjects
targets.vim vs Neovim-from-scratch
vim-swap vs telescope-undo.nvim
targets.vim vs harpoon
vim-swap vs nvim-tabmode
targets.vim vs paq-nvim
vim-swap vs neovim