iswap.nvim
nvim-treesitter-textobjects
iswap.nvim | nvim-treesitter-textobjects | |
---|---|---|
9 | 87 | |
486 | 1,898 | |
- | 3.7% | |
5.6 | 8.5 | |
4 days ago | 8 days ago | |
Lua | Scheme | |
MIT License | 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.
iswap.nvim
-
Sibling-swap.nvim: another way to swaps arguments, array's items and attributes
Could you elaborate on how is this different from https://github.com/mizlan/iswap.nvim?
-
Moving from IDE to VIM Cheatsheet
The "move element left/right" thing you might be interested in https://github.com/mizlan/iswap.nvim perhaps?
-
I must be missing something
iswap.nvim: Swap argument with treesitter.
-
Post-operation flashing and arbitrary node swapping!
[iswap.nvim](https://github.com/mizlan/iswap.nvim) is a plugin for swapping things around interactively in your buffer (powered by tree-sitter). Since the start I've entertained the idea of a post-operation highlight flash that confirms the operation, since otherwise it is sometimes hard to tell what you just did (to make sure you did it correctly). Also, you can arbitrarily swap sibling nodes too now, thanks to a PR by u/JoseConseco_ !
-
Swapping objects with `nvim-treesitter-textobjects`
Btw, I found the queries from https://github.com/mizlan/iswap.nvim helpful in implementing this approach. (For example I found (variable_list (_) @swappable) was not covered in your lua queries. Once again thanks, this is great fun!
-
USER FLAIRS: Apply now!
Plugin author: https://github.com/mizlan/iswap.nvim
- Bram: "Neovim has included Treesitter, which is an implementation of this. Once Vim9 is done I'll have a look at whether it is a good choice to include with Vim"
-
Custom treesitter textobjects
- https://github.com/mizlan/iswap.nvim : again uses hints for swapping treesitter nodes
-
iswap.nvim: Interactively swap function arguments, list elements, and more using tree-sitter!
iswap.nvim is a plugin that allows you to interactively swap... things! Like a lot of things: function arguments, list elements, parameters, and more! Take a look and see if it tickles your fancy!
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.
What are some alternatives?
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
vim-treesitter
nvim-treesitter-refactor - Refactor module for nvim-treesitter
vim-swap - Reorder delimited items.
targets.vim - Vim plugin that provides additional text objects
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
hop.nvim - Neovim motions on speed!
vim-textobj-user - Vim plugin: Create your own text objects
nvim-treesitter-textsubjects - Location and syntax aware text objects which *do what you mean*
vscode-neovim - Vim mode for VSCode, powered by Neovim