nvim-treehopper
hop.nvim
nvim-treehopper | hop.nvim | |
---|---|---|
6 | 4 | |
400 | 25 | |
- | - | |
0.0 | 2.0 | |
4 months ago | over 2 years ago | |
Lua | Lua | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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-treehopper
-
Differences in setting keymaps in lua vs map command
I am trying to set up nvim-treehopper and duplicating the suggested keymaps in a lua config.
-
Neovim quick way to indent multiple lines
Take a look at nvim-treehopper (https://github.com/mfussenegger/nvim-treehopper), a tree-sitter based plugin that lets you select regions of code
-
Leaps and (no) bounds - extend leap.nvim with custom motions, callbacks, Tree-sitter, and more
This copies the idea of nvim-treehopper. Just a work in progress hack (pretty usable though), but planning to make a full-fledged plugin, if someone else won't do it :) (Needless to say, my gists can be considered unlicensed, do whatever you want with them.)
-
The most amazing built-in feature nobody ever mentions: smart select!
I also suggest taking a look at this one : mfussenegger/nvim-treehopper
- 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"
-
Plugin: treesitter-unit
https://github.com/mfussenegger/nvim-ts-hint-textobject does what you are proposing.
hop.nvim
- There is a fork of hop.nvim that is much better.
- 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"
- Hop around treesitter nodes
-
Custom treesitter textobjects
- https://github.com/IndianBoy42/hop.nvim : This is my fork of hop.nvim, i got tired of waiting for PR#123 to be merged which refactored hop.nvim to allow for more flexible ways of specifying jump targets (instead of line by line you return everything visible on the screen). This allowed me to write some extensions that use treesitter to jump to locals, like definitions, references, scopes, and any other queries you want
What are some alternatives?
spellsitter.nvim - Treesitter powered spellchecker
nvim-treesitter-textsubjects - Location and syntax aware text objects which *do what you mean*
nvim-treesitter-context - Show code context
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]
iswap.nvim - Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.
zephyr-nvim - A dark neovim colorscheme written in lua
vim-treesitter
nvim-gps - Simple statusline component that shows what scope you are working inside
treesitter-unit - A Neovim plugin to deal with treesitter units
twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
ts-textobjects - Treesitter textobjects for neovim.