traces.vim
nvim-treesitter-textobjects
traces.vim | nvim-treesitter-textobjects | |
---|---|---|
17 | 87 | |
714 | 1,914 | |
- | 3.7% | |
1.8 | 8.5 | |
about 2 years ago | 4 days ago | |
Vim Script | 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.
traces.vim
-
Weekly Vim tips and tricks thread! #24
For those who wish to preview substitutions as they type à la Neovim inccommand, there's markonm/traces.vim.
- Why keeps you using vim vs neovim?
- How would I wrap a word, prefix it, and finally suffix it?
-
multiple cursors
Neovim has this built in with set inccommand=split, which is inspired by traces.vim, I believe.
-
What is the window called that comes up when you press q:
There's also markonm/traces.vim: Range, pattern and substitute preview for Vim
-
Would you be interested in multicursor support for Neovim?
Do you know traces.vim?
-
How to not ask for regex solutions all the time?
There is also https://github.com/markonm/traces.vim that shows the changes made by :substitute interactively.
-
I still want multiple cursors and I’ve been using Vim/neovim for 8 years!
Perhaps you mean traces.vim? I find it extends live feedback on substitutions and whatnot quite well. Useful for a lot of typical cases where you would expect native Vim/Neovim to provide live feedback but doesn’t. Also, I find the “Feature comparison” table for traces to be modest: it is even better / native is lacking.
-
Newbie question about :s
May want to use 'incsearch' & 'hlsearch' to help show patterns as you build them with /. Neovim will show substitution previews ('inccommand') and traces.vim will work with Vim.
-
Is there a plugin that makes searching and replacing stuff in vim easier?
The traces.vim plugin can help show substitution previews. Neovim may want to look at :h 'inccommand'
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-signature - Plugin to toggle, display and navigate marks
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
nvim-hlslens - Hlsearch Lens for Neovim
nvim-treesitter-refactor - Refactor module for nvim-treesitter
vim-exchange - Easy text exchange operator for Vim
targets.vim - Vim plugin that provides additional text objects
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
vim-peekaboo - :eyes: " / @ / CTRL-R
vim-textobj-user - Vim plugin: Create your own text objects
vim-visualstar - star for Visual-mode.
vscode-neovim - Vim mode for VSCode, powered by Neovim