leap.nvim
avy
Our great sponsors
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.
leap.nvim
-
Your favourite Neovim plugins?
Also I really like leap.nvim which in my opinion is the best thought out "hop" variation.
-
This Week In Neovim #44 — Mon May 29th 2023
Your plugins are great but I haven't tried mini.jump2d. However, compared to hop.nvim I prefer leap.nvim's jumping philosophy because it uses information you already have before starting the jump, and you just have to type one "virtual" character, which in my opinion is a smoother experience.
- Feeling super slow...
- leap.nvim meets vim-illuminate
-
Anyone know if there are plans to add leap.nvim behavior to helix?
Here's the repo if you haven't heard about it: https://github.com/ggandor/leap.nvim Otherwise, does anyone know if there are ways to emulate that behavior with existing keybings? And, if all else fails, would you like to see it as a feature request?
-
People who migrated from vscode
leap.nvim absolutely turned my movements and navigation experience in neovim upside down.
- What do you use 's' for in normal mode? vanilla? or something like leap?
-
I’m a vscode user who wants to migrate to neovim but still can’t get all the features I want, I’m trying out lazyvim, which plug-ins should I use?
I like Leap
-
find-extender.nvim A Plugin that extends the nvim find command
Nice, but you've reinvented the wheel :) https://github.com/goldfeld/vim-seek -> https://github.com/justinmk/vim-sneak -> https://github.com/ggandor/leap.nvim
-
Useful <CR> map for normal mode?
I use it as my mapping for leap.nvim (https://github.com/ggandor/leap.nvim), but I only map for normal and help buffers, since mapping it in every buffer type messes up things like quickfix lists and file trees.
avy
-
Is there an Obsidian plugin similar to AceJump for IntelliJ IDEs or avy for Emacs?
What I'm looking for is something like AceJump for IntelliJ IDEs or avy for Emacs. These tools let you navigate to some part of the visible text with just a few keystrokes. Here's the behavior I would like in Obsidian, copied from AceJump's page:
-
Vim-like “jump” cursor for Mac OS Window Management
For my emacs friends, here's a wonderful package that provides the same functionality: https://github.com/abo-abo/avy
And, if you're interested in some historical context for this "type characters and jump to point" functionality, the Canon Cat: https://youtu.be/o_TlE_U_X3c
-
Kill until next char preceding space | Uppercase | underscore
Personally I've learned to do things the "Emacs way" and got used to its killing behavior. For multi-line stuff I would mark the region and then use navigation commands to get the point where I want it. For more complex scenarios I use either C-s/C-r or just use avy to get the point where it needs to be. For single line stuff I think M-z works well. Maybe this package could be useful to you as well? Just some ideas, I think there are actually many options here (including going over to evil ;) and it depends on your preferences and needs.
-
Today Is International Mouse Arm Day. Do you use the mouse in Emacs?
I make extensive use of avy for these kinds of situations.
-
org-metadown in regular text!
Avy (avy-move-line) can do it very nicely and interactively for you, see this video.
-
[Spacemacs] Is bidirectional easy motion possible in spacemacs?
It sounds like avy is what you're looking for?
-
Navigate to positions within long words
Perhaps avy. I would use the commandavy-goto-char-2 then type N a and the corresponding jump key (if it appears). avy-goto-subword-1 is a bit more niche but might also work well.
-
Leap.nvim: Neovim’s Answer to the Mouse
from the readme:
> it maps possible futures, and shows you which key(s) you will need to press before you actually need to do that.
In the preview gif it's showing the matched hintkeys LIVE as you search.
I think this is actually a huge different in UX. I'm using the emacs equivalent in avy, avy-goto-char-timer[1], and that small pause between searching and acting (typing the hings) makes the experience jarring enough that I don't want end up using goto-char-timer in motions that much (only for jumping across windows and panes)
With no delay between and , the UX of d is much smoother
I'm jumping around on the screen using -> https://github.com/abo-abo/avy#avy-goto-char
This UX does not break my flow (it doesn't require focus/conscious thought):
1. Press + while looking at the place I want to jump to
What are some alternatives?
hop.nvim - Neovim motions on speed!
vim-easymotion - Vim motions on speed!
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
lightspeed.nvim - deprecated in favor of leap.nvim
evil-snipe - 2-char searching ala vim-sneak & vim-seek, for evil-mode
evil-guide - Draft of a guide for using emacs with evil
meow - Yet another modal editing on Emacs / 猫态编辑
consult - :mag: consult.el - Consulting completing-read
vim-sneak - The missing motion for Vim :athletic_shoe:
quick-scope - Lightning fast left-right movement in Vim
inside-emacs - complementary material for the Youtube video series Inside Emacs