hop.nvim
nvim-treesitter-textobjects
hop.nvim | nvim-treesitter-textobjects | |
---|---|---|
46 | 87 | |
2,413 | 1,898 | |
- | 3.7% | |
2.9 | 8.5 | |
8 months ago | 8 days ago | |
Lua | Scheme | |
GNU General Public License v3.0 or later | 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.
hop.nvim
-
hardtime.nvim - A Neovim plugin helping you establish good command workflow and habit
Personally I like to just hop using the hop plugin: https://github.com/phaazon/hop.nvim
-
Using hop.nvim on empty line breaks plugin (bug?)
I am using hop.nvim and hop.nvim works great most of the time except when I'm on an empty line. Suppose I'm editing this snippet and ^ represents my cursor
-
Rapidly selecting/copying in kitty?
I waas thinking about something ala https://github.com/phaazon/hop.nvim to do fast selections, f.e.: -Entering visual mode or a specific mode -Search for f.e. 2 characters -Getting "hints" (like in vimium) for the matches -Being able to select and copy the hinted matches and being able to chose to either yank a line, a word, a url... etc
- Question regarding vertical movement
- Neovim - Workflow para Java, C# e JS/TypeScript (Atualização com Neovim 0.8 e LSP)
-
Quick tip: One keymap can save you from using multiple plugins
So I was previously using a bunch of plugins to be able to move between frequently used block delimiters "(){}...", things like Vim-matchup or Nvim-treesitter-textobjects. However, i had the sudden realization that what I was really doing was hopping between block delimiters most of the time, so I uninstalled all of them and created a keymap that works faster and requires only one plugin Hop.nvim, which I already use to obtain EasyMotion like movements. Here's the keymap, you can customize it to your liking to add common characters where you hop to (be careful as it is not a regular regex expression):
- Always Pin Your Neovim Plugins
- (Neo)Vim motions on speed
-
sneak vs lightspeed vs vanilla
I prefer to use Hop with :HopWord. It just highlight every word in buffer. f({char}) ({char})
-
Launch a `/` search only in the visible part of a buffer
If you are interested in a plugin solution, there is HopPattern in https://github.com/phaazon/hop.nvim
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?
lightspeed.nvim - deprecated in favor of leap.nvim
vim-multiple-cursors - True Sublime Text style multiple selections for Vim
leap.nvim - Neovim's answer to the mouse 🦘
nvim-treesitter-refactor - Refactor module for nvim-treesitter
vim-easymotion - Vim motions on speed!
targets.vim - Vim plugin that provides additional text objects
vim-sneak - The missing motion for Vim :athletic_shoe:
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
AceJump - 🅰️ single character search, select, and jump
vim-textobj-user - Vim plugin: Create your own text objects
vim-dadbod-ui - Simple UI for https://github.com/tpope/vim-dadbod
vscode-neovim - Vim mode for VSCode, powered by Neovim