nvim-treesitter-textobjects
vim-sandwich
Our great sponsors
nvim-treesitter-textobjects | vim-sandwich | |
---|---|---|
87 | 35 | |
1,880 | 1,381 | |
6.1% | - | |
8.3 | 5.0 | |
4 days ago | 29 days ago | |
Scheme | Vim Script | |
Apache License 2.0 | - |
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.
nvim-treesitter-textobjects
-
Use treesitter to jump to next argument without going into nested function calls?
I was hoping to use nvim-treesitter-textobjects to jump to the next argument via something like this:
-
Code navigation ctags/cscope/gnu global alternative?
You want to look at nvim-treesitter-textobjects. It let's you define keymaps for navigating text objects defined by treesitter and you can also use them with commands like d, c and so on.
-
My Favorite Vim Oneliners for Text Manipulation
Thank you! It looks like nvim-treesitter-textobjects is a good plugin to start with:
https://github.com/nvim-treesitter/nvim-treesitter-textobjec...
-
How to move between the topmost/root node in treesitter?
I'm aware of nvim-treesitter-textobjects and I suspect my answer lies in this plugin, but is there a way to move between root nodes that is agnostic of the node type?
-
Manipulating and moving between function arguments in Neovim
Thanks! I just started using https://github.com/nvim-treesitter/nvim-treesitter-textobjects, and it works as a charm.
-
Searching for plugin to provide granular treesitter visual mode navigation
nvim-treesitter-textobjects
-
Vim Tip - Jump to start of function or code block
In this case, reading here is probably a good start: https://github.com/nvim-treesitter/nvim-treesitter-textobjects
-
Getting v(a|i)B working in Ruby?
Have a look at https://github.com/nvim-treesitter/nvim-treesitter-textobjects. Set up the @block.inner and @block.outer textobjects and it should work.
-
How do you jump to the beginning of a function
nvim-treesitter-textobjects lets you jump to (for instance) functions more accurately than with a regex-based approach using ]f
Or even better, one can use nvim-treesitter-textobjects. It already provides function/class selection and go-to functionality out-of-the-box.
vim-sandwich
-
Surround: how to change foo(bar) to bar
vim-sandwich has this too (although syntax by default is sdf).
- Installing argtextobj.vim
-
How would I wrap a word, prefix it, and finally suffix it?
For example with vim-sandwich you can literally type: siw"sa"ffunctionCall
-
Comment 1 thing in neovim (or plugins) that changed your life, but very few people know about
can't live without my prefered surround plugin
-
neovim plugins that have improved your workflow
vim-sandwich
-
What extra and useful textobj does vim have?
https://github.com/machakann/vim-sandwich (is and iss)
- Whenever I'm looking for plugins these days [OC]
-
Is there a way Is there a way to combine da' and da" ?
This might not be exactly what you're looking for, but vim-sandwich provides the as text object, that goes to whatever surrounding you're in, whether it's quotes, parens, \begin{environment}...\end{environment} in TeX files, or whatever other sandwich recipes you have set up.
-
what vimL plugins are you still using?
vim-sandwich - nvim-surround looks good but is still relatively new and has some missing features compared to alternatives.
-
Introducing nvim-surround, a plugin for adding/changing/deleting surrounding delimiters
Other related plugins that I know of: * https://github.com/tpope/vim-surround * https://github.com/machakann/vim-sandwich * https://github.com/echasnovski/mini.nvim
What are some alternatives?
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
nvim-treesitter-refactor - Refactor module for nvim-treesitter
surround.nvim - A surround text object plugin for neovim written in lua.
targets.vim - Vim plugin that provides additional text objects
nvim-surround - Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
vim-textobj-user - Vim plugin: Create your own text objects
vim-exchange - Easy text exchange operator for Vim
vscode-neovim - Vim mode for VSCode, powered by Neovim
kakoune - mawww's experiment for a better code editor