wildfire.vim
treesitter-unit
wildfire.vim | treesitter-unit | |
---|---|---|
5 | 9 | |
607 | 149 | |
- | - | |
0.0 | 1.8 | |
10 months ago | over 2 years ago | |
Vim Script | Lua | |
MIT License | The Unlicense |
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.
wildfire.vim
-
How to use incremental_selection to select a word
I used to use https://github.com/gcmt/wildfire.vim, but now I'm more interested in the incremental_selection provided by treesitter. It seems more modern and offers a syntax-aware way of performing incremental selections. Generally, it is smarter than wildfire and allows me to use fewer keystrokes to select the desired portions.
-
Enter visual mode while highlighting in insert mode
A possibly more useful one, using Wildfire:
-
What do you use treesitter for other than highlighting?
Is this treesitter-native support for wildfire?
-
Create a generic "change inside" function
For this particular problem, the wildfire plugin does most of the heavy lifting for the user, and the enter/backspace shortcuts become terribly addictive after just a few uses.
treesitter-unit
-
paredit.vim – Paredit Mode: Structured Editing of Lisp S-Expressions
It's also relatively easy to write plugins based on the parsed AST. I wrote treesitter-unit[1] making it easy to select/modify the subtree of the selection.
[1]: https://github.com/David-Kunz/treesitter-unit
-
What do you use treesitter for other than highlighting?
I built a plugin to select units of tree-sitter objects https://github.com/David-Kunz/treesitter-unit
- USER FLAIRS: Apply now!
-
How to paste inline the content I deleted/yanked with x/d/dd/y/yy instead of pasting one line below?
To delete/yank the node, the combination would be `diu`, using this plugin: https://github.com/David-Kunz/treesitter-unit
- Nim Version 1.6 Released
-
Custom treesitter textobjects
Hi, I also think treesitter-textobjects are a bit overspecific, that's why I created https://github.com/David-Kunz/treesitter-unit/ .
-
Video: Let's create a Neovim plugin using Treesitter and Lua
In this video I create a Neovim plugin called 'treesitter-unit' using Lua. You can find the final plugin here: https://github.com/David-Kunz/treesitter-unit/
-
Plugin: treesitter-unit
I tried it with operator mode maps and it works perfectly! I updated the README to include: vim.api.nvim_set_keymap('o', 'x', ':lua require"treesitter-unit".select()', {noremap=true})
What are some alternatives?
aerial.nvim - Neovim plugin for a code outline window
jester - A sinatra-like web framework for Nim.
vim-textobj-user - Vim plugin: Create your own text objects
nvim-treesitter-textsubjects - Location and syntax aware text objects which *do what you mean*
syntax-tree-surfer - A plugin for Neovim that helps you surf through your document and move elements around using the nvim-treesitter API.
cps - Continuation-Passing Style for Nim 🔗
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
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.
nvim-treesitter-textobjec
cmdchallenge