What techniques / plugins do you use for fast jumping?
@RapLyricalVideos8 ай бұрын
Harpoon by ThePrimeagen
@ascourter8 ай бұрын
@@RapLyricalVideos do you use that to jump between buffers or to specific locations within a buffer?
@ovidiu_nl8 ай бұрын
None. I just use relative numbers to jump to the row I want (I may use H, M, L to get close first) and then I use w, f, t etc to move horizontally. That way I have the muscle memory to jump around effectively even if I'm on a minimally configured vim (for instance on a server). I feel like leap or similar plugins would ruin that muscle memory. I never really understood harpoon. If I do something that requires me to jump around a bunch of locations I just set up some uppercase marks. That also doesn't require any plugin.
@RapLyricalVideos8 ай бұрын
@@ascourter a --- for adding a file in a Harpoon list m --- for viewing Harpoon menu first.html -> 1 second.html -> 2 third.html -> 3 fourth.html -> 4
@ovidiu_nl8 ай бұрын
@@RapLyricalVideos I'd do mA, mB, mC, mD to mark the locations, then 'A, 'B, 'C, 'D to jump back to them. I guess I don't have the menu, but I don't really feel I'm missing much... I usually set these up for the task at hand so it's all kinda temporary. I'm not going to forget which is which. And I often set a Z mark as a sort of anchor point when I'm about to embark on some exploration of the code and I want to be able to quickly jump back where I started.
@rodelias93788 ай бұрын
Nice video! Thanks! Looking forward to flash.nvim video
@noomondai8 ай бұрын
Welcome back thanks for the vid!
@ascourter8 ай бұрын
Thank you!
@Youkouleleh8 ай бұрын
I was using easy motion before, i liked it
@linkarzu8 ай бұрын
Nice, thanks for the tip. I navigate horizontally using the default "f" then ";" but the single character I can type is not good enough for me. So I'll try this.
@theherk8 ай бұрын
The whole mini.nvim library is incredible. mini.files and mini.clue and best-in-class in my opinion.
@ascourter8 ай бұрын
Nice. This is on my list to explore more after hop.nvim
@aquepaique8 ай бұрын
I personally prefer using the default / ? I find more comfortable typing the whole word than guessing the random char that leap/flash will prompt.
@orian76888 ай бұрын
flash.nvim is similar to leap but allows you to type as many letters as you want
@aquepaique8 ай бұрын
@@orian7688 yeah, and also Leap is confusing because sometimes the cursor makes random jumps before the objective. Flash is the best option IMO, but I prefer using the vim native behavior (?/ ctrl-g ctrl-t)
@tedmoyses29428 ай бұрын
Came here to say this. Glad it's not just me @@aquepaique
@ascourter8 ай бұрын
Thanks for sharing! I definitely get this and have had to train my muscles not to type the word when using leap.
@j1d7s8 ай бұрын
I have been using leap for a long time, it is one of my favourite plugins and I don't think it get's better, but let's see what you tell us about the others! One thing I noticed was that the "search area" is being greyed out, this does not happen for me. Maybe it is because of my colorscheme (?).
@ascourter8 ай бұрын
Nice! Oh it might be your color scheme like you mentioned. I'm using Tokyo night.
@j1d7s8 ай бұрын
@@ascourter I am using "catppuccin/nvim". But I think it may be better afer all if the search area is not greyed out for me because that could hurt readability.
@prashlovessamosa8 ай бұрын
Mr Andrew how can I render images in neovim there is a plugin image.nvim I have followed its instructions i use kitty but I am still unable to do it please make something on it.
@ascourter8 ай бұрын
Thanks for your request! I went down a rabbit hole of trying to get image rendering to work in the terminal but it didn't work out since I use tmux. I will dig more into this and hopefully get a video on doing this in neovim without tmux and see what I can come up with.
@obszczymucha13378 ай бұрын
What is the plugin that highlights the first letters in words after pressing f or F?
@ascourter8 ай бұрын
github.com/jinh0/eyeliner.nvim
@obszczymucha13378 ай бұрын
@@ascourter Thank you!
@rwz8 ай бұрын
It would be great to know if a plugin works well within macros. Will give it a try, but definitely need to find a good alternative for `s`.
@ascourter8 ай бұрын
Oh good question. That's something I can think about with upcoming videos. Thanks!
@WhatNameHere8 ай бұрын
Does your config work with golang? Or how can one make it work?
@ascourter8 ай бұрын
I haven't setup golang yet, it's on my list to configure and I'll be sure to create a video on it!
@WhatNameHere8 ай бұрын
@@ascourter yeah I’ll be waiting for it, and probably a video explaining how you exactly can setup basically everything for any language + dap.
@jagannathhari8 ай бұрын
Also for me visual selection is not working
@ascourter8 ай бұрын
Thank you! I'm glad it's not just me
@cody_codes_youtube8 ай бұрын
FIRST
@ascourter8 ай бұрын
I am gonna call you "Quick Draw Cody" now haha
@cody_codes_youtube8 ай бұрын
@@ascourter I accept this title
@onewhoanimates90168 ай бұрын
Nice video, I switched from leap to flash, check it out. No more s and S, with flash s jumps forwards and backwards
@ascourter8 ай бұрын
Nice, I'm experimenting with flash this week!
@naranyala_dev8 ай бұрын
combine things like oil.nvim and leap.nvim in the future, or others
@tranquythuong8 ай бұрын
I think hop.nvim is more simple to use than Leap.nvim
@ascourter8 ай бұрын
What do you like about hop.nvim?
@rtalexk8 ай бұрын
Leap is predictable compared to to others that I’ve tried. In Leap you’ll always press the first two characters of a word. And when you know exactly where you want to move to, you don’t have to think, this leaves you with way less marks to think about, just the tie breaker.
@tranquythuong8 ай бұрын
@@rtalexk In hop.nvim, I just use the word jumping. When I need to jump to a specific word, I look at that word and double press on leader key, then type 1, 2 or 3 chars to jump to it, just have to think once. As you describe the leap.nvim, each time you need to jump, you type first 2 chars, and then press something one more time to jump, that's more complicated.