Currently using ggandor/flit.nvim and ggandor/leap.nvim. mini.jump is also good. Well, everything in mini.nvim is good, but I think the ggandor tools are great. I actually just haven't tried hop.nvim.
you haven't noticed another very obvious feature of hop - it's double labels. This is very lacking in flash.vim and because of that, I'm not switching. The keyboard is very limited and hop.vim was able to turn it into a real tool
Thanks for your video! I use both hop.nvim and flash.nvim. I mapped to flash.jump() and s to HopWord. I find HopWord more useful because I don't need to type the pattern I want to jump to, but whenever I need that, I can use !
@@vikingthedude thanks for the request! I will add that to my list. I did cover aerials and symbols outline a bit in my "jump around buffers" video. Hopefully that gives a little taste while I work on a new one 😁
The functionality for hints when jumping with 'f/F' and 't/T' already exists in flash.nvim. If anyone is wondering how to get it working, here is part of my config for flash.nvim ```lua { "folke/flash.nvim", opts = { jump = { -- automatically jump when there is only one match autojump = true, }, modes = { char = { jump_labels = true, multi_line = false, }, }, }, } ```
Thanks for this, it feels flash.nvim has better TreeSitter integration? The search did not highlight as many text objects as i would have expected, but maybe this can be configured?
In my opinion, the only thing missing in flash.nvim is the ability to move at the start and end of line simultaneously. But still, it is, for me, the best plugin for mouse-like navigation in nvim because of it's unique ability to search as many characters as I like.
@@ascourter I want the jump labels to appear at the start of the line (equivalent to ^), and also the end of line (equivalent to $). But I am not able to implement this behavior in flash. Or in any plugin.
If you do find a way of doing this, do let me know. That would be very useful. Currently I set up for "_" to cycle through first character on line, begining of the line, and end of the line, but what you're describing would be much better
I feel like this type of navigation opens an important discussion about the cost of turnaround time between finger->eyes->brain->finger. 3 key presses where each press has to go through your eyes/brain is not faster than spamming w 4x while leaving your eyes and brain free to do other work. And it's not even a matter of "getting used to" these new motions, because the index of one press will always be dependent on the visual feedback created from the previous press. Meanwhile, if i can just look at the code in front of me and already know the vim motions to get me where i need to go, even if it takes 5-10 presses, i can then carry out those presses without even looking or thinking about it. My eyes and brain can be elsewhere.
hop is like swiss army knife, recently I switched to mini.jump and mini.jump2d, simpler and get the job done 🙂, BTW it has other utilities (simpler version)
Do you use hop.nvim?
I use mini.jump. i really like that is simply to navigate. it only extends the functionality of f, F, t and T to more than one line
Currently using ggandor/flit.nvim and ggandor/leap.nvim. mini.jump is also good. Well, everything in mini.nvim is good, but I think the ggandor tools are great. I actually just haven't tried hop.nvim.
you haven't noticed another very obvious feature of hop - it's double labels. This is very lacking in flash.vim and because of that, I'm not switching. The keyboard is very limited and hop.vim was able to turn it into a real tool
@@Aleksey-n5h thanks for the feedback. I'll check out double labels.
Yes! Been using it for a while now and I couldn’t imagine working without it
Thanks for your video! I use both hop.nvim and flash.nvim. I mapped to flash.jump() and s to HopWord. I find HopWord more useful because I don't need to type the pattern I want to jump to, but whenever I need that, I can use !
Oh that is interesting. Thanks for sharing! I definitely liked HopWord as well.
Did not get a notification. BOOOOO.
Nice work my dude!
Haha no worries. Thanks Cody!
At 3:44 when you start typing :HopAnywhere, fuzzy-matching commands are shown. Is that a setting or a plugin? And if it's a plugin, which one?
It's a plugin for cmp. Check out my video on "The Most Requested Feature"
I think I prefer Leap, you have to type more to narrow down the highlight but I find it more useful
Could you do a document structure overview plugin, like aerial nvim? I think this is a category of plugins we haven't seen much content on
@@vikingthedude thanks for the request! I will add that to my list. I did cover aerials and symbols outline a bit in my "jump around buffers" video. Hopefully that gives a little taste while I work on a new one 😁
@@ascourter thank you!
@@ascourter I'll check out the other video too
The functionality for hints when jumping with 'f/F' and 't/T' already exists in flash.nvim. If anyone is wondering how to get it working, here is part of my config for flash.nvim
```lua
{
"folke/flash.nvim",
opts = {
jump = {
-- automatically jump when there is only one match
autojump = true,
},
modes = {
char = {
jump_labels = true,
multi_line = false,
},
},
},
}
```
Nice! Thank you for sharing this!
What plugin is the floating cmdline you are using?
haha check out my video about "my most requested" plugin. Essentially it is using Noice and a couple other cmdline completions
@@ascourter i got it, tks!
Thank you andrew, You have been very helpful
Thanks for this, it feels flash.nvim has better TreeSitter integration? The search did not highlight as many text objects as i would have expected, but maybe this can be configured?
Yeah that's what it felt like to me as well. I didn't dig further into whether it could be configured differently
In my opinion, the only thing missing in flash.nvim is the ability to move at the start and end of line simultaneously. But still, it is, for me, the best plugin for mouse-like navigation in nvim because of it's unique ability to search as many characters as I like.
I am curious what you mean by move to start and end simultaneously
@@ascourter I want the jump labels to appear at the start of the line (equivalent to ^), and also the end of line (equivalent to $). But I am not able to implement this behavior in flash. Or in any plugin.
If you do find a way of doing this, do let me know. That would be very useful. Currently I set up for "_" to cycle through first character on line, begining of the line, and end of the line, but what you're describing would be much better
@@brijeshsrivastava6682 Ah ok. Yeah that would be pretty sweet. If I figure out a solution I will definitely share it here!
I feel like this type of navigation opens an important discussion about the cost of turnaround time between finger->eyes->brain->finger. 3 key presses where each press has to go through your eyes/brain is not faster than spamming w 4x while leaving your eyes and brain free to do other work. And it's not even a matter of "getting used to" these new motions, because the index of one press will always be dependent on the visual feedback created from the previous press. Meanwhile, if i can just look at the code in front of me and already know the vim motions to get me where i need to go, even if it takes 5-10 presses, i can then carry out those presses without even looking or thinking about it. My eyes and brain can be elsewhere.
Yes
Hop.nvim is better than all of these motion plugins because you can use the api to program whatever they are doing + 10 times more features
What other functionality do you have implemented with the api?
Oh no, the article needs an account 😢
Here's a different version that doesn't need an account: open.substack.com/pub/andrewcourter/p/is-hopnvim-better-than-flashnvim
@@ascourter Thank you very much; appreciate it; might be worth adding this guy to the desciption as well
Thank you for all the great videos
I use pounce
NOT ANOTHER ONE!
No
lol how very direct of you
No it is not this is just so you could make a video.
Sorry?
I don't think anything beats leap.nvim by efficiency.
hop is like swiss army knife, recently I switched to mini.jump and mini.jump2d, simpler and get the job done 🙂, BTW it has other utilities (simpler version)
Personally I prefer pounce.nvim. I find it to be both very simple and efficient.
Nice. I'll check that one out as well!
LOVE pounce.nvim, it just works!
I'm happy with precognition.nvim
Oh I don't think I've heard that one. Will check it out