vim-surround-funk
nvim-treesitter-textobjects
vim-surround-funk | nvim-treesitter-textobjects | |
---|---|---|
4 | 87 | |
80 | 1,933 | |
- | 5.5% | |
0.0 | 8.5 | |
over 2 years ago | 3 days ago | |
Vim Script | Scheme | |
- | 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.
vim-surround-funk
- Surround: how to change foo(bar) to bar
- What extra and useful textobj does vim have?
-
surround-funk 2.0: A plugin inspired by tpope's surround.vim for working with function calls
I've released surround-funk 2.0 (you can also get it from vim.org). It allows you to delete, change and yank a surrounding function along with its additional arguments. With the surrounding function in the unnamed register, you can 'grip' a word or another function with it. 'Gripping' will wrap/encompass a word or function with the one you have in the unnamed register (see demos below).
-
surround-funk: A plugin inspired by tpope's surrond.vim for working with functions
I made surround-funk. A plugin that allows you to delete, change and yank a surrounding function along with its additional arguments. Then once the surrounding function is in the unnamed register, you can 'grip' a word or another function with it. 'Gripping' will wrap/encompass a word or function with the one you have in the unnamed register.
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?
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
vim-textobj-entire - Vim plugin: Text objects for entire buffer
nvim-treesitter-refactor - Refactor module for nvim-treesitter
textobj-word-column.vim - Adds text-objects for word-based columns in Vim.
targets.vim - Vim plugin that provides additional text objects
vim-textobj-user - Vim plugin: Create your own text objects
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
CamelCaseMotion - A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
vscode-neovim - Vim mode for VSCode, powered by Neovim