[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: IMG_1377.png (151 KB, 1280x640)
151 KB
151 KB PNG
Do you (n)vim users really use plugins like Flash.nvim and Leap.nvim for navigating code as fast as possible? Or do you j/k lines and w/b?
>>
The latter. I tried vim-sneak before and didn't find it particularly useful over using f/F and search motions. I've also tried something similar to flash.nvim and found it to be too noisy and require too much attention to be useful.
>>
i use flash.nvim, i advice any neovimer to use it as well or just give it a shot for only a week because its such a QoL improvement
>>
>>108543004
If you can see the line it's going to be faster to 5j than to use a search feature. Search is for when you can't see the line.
>>
>>108543004
<num>j/k (with rnu) and then f<letter> or spam w/W until I get there.
I tried easymotion but found myself eventually not using it at all, I'm yet to try flash.nvim, seems like a better alternative
>>
>>108543634
>If you can see the line it's going to be faster to 5j than to use a search feature
disagree, with flash you dont have to look at line numbers at all - only at the code, and it saves you some time
also you wont be working with a text that is at the beginning or end of a line so its even faster to use search
>>
jk, wb, and search.
I've literally never needed to go through code faster than this provides.
>>
>>108543004
In helix we have gw which is really good for going to something youre looking at, otherwise yeah its j/k and ctrl-d and ctrl-u for bigger movements. Im not totally familiar with nvim or vim but we also have ctrl-s to save our position then we can ctrl-i and ctrl-o to go into or out of that saved position. works for other open buffers and any major movement. Only downside of helix for most is that it doesnt have a plugin system and i dont think they plan to add one.
>>
>>108544398
>ctrl-s to save our position then we can ctrl-i and ctrl-o
Are these like marks?

>i dont think they plan to add one.
Last I heard they're working on one. Is that on pause?
>>
>>108543082
>found it to be too noisy and require too much attention to be useful
This. It shifts the focus from code to 2-3 letter combinations. I had to delete it.
>>
>>108544407
Judging by what ive just read its the same thing yes, its called the jumplist in helix, probably because it includes movements as well as manually added 'marks'.

>Last I heard they're working on one
i thought that was on pause since like 2023 but I could be wrong, I dont really check for updated though since ive gotten used to everything and it works fine for me.
>>
>>108543004
Using anything more than builtin options of vim is pure retardation, that also includes using nvim.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.