A caffeine-fueled Starcraft-player-turned-programmer can't stand inefficiencies. This is the greatest channel ever. Also, that was a lot of hyphenation.
That dance was amazing. Also, this is a revelation. I have also been struggling with this issue for years. Vim users don't usually encounter this unless you are in a high production environment where things are constantly changing. My last attempt at trying to alleviate this problem in my workflow was using tabs, but you are absolutely right: using tabs are only adding to the burden. Can't wait to add this to my toolbox.
You have something here. Marks always seems so powerful to me and yet for some reason no one uses them. And I was trying to use them and only then I realized "What?, now I have to think in more marks for every project that I am working on" and then I see this video, talking about even more drawback that I didnt think of and giving a very natural and "vim way" solution. Looking forward for this now.
To be honest, when I watched your video I started noticing how much time I spend navigating between files and it started frustrating me. A LOT! Thanks! I HAD TO install this plugin and since then - I'm a happier person.
You're the one of my most favorite discoveries in recent memory. Understanding why you do the incredible work you do has helped me reflect on myself too. You're a blessing Prime, and thank you for helping coding padawans like me. After all you've been through and shared on your channel, you deserve every good thing coming your way. Tldr: i admire prime more than coconut oil (blasphemy fr)
That is why I open all important files in splits and never close them. Hopefully harpoon is going to improve that workflow as now I will be able to finally write code in full-screen
Nice story. It reminds me of the glorious V mark in old Vim, it's always in my .vimrc. Still there, not moving, because I don't open vim now. Just neovim. Right now I solve the problem in the video with lua bufferline and pins. Pin buffers, close all others regularly.
Harpoon is one of the best vim plugins I installed this year. I was like "how did I code without this????" #yearslost Thank you Prime for this plugin. I also love terminal functionality of it as well
I was using Try 1, because you mentioned `mJ` and `mK` in another video. It worked, but I'm happy with the upgrade to harpooning files instead. Thank you!
@@ThePrimeagen having to remember to create the marks in the first place is also frustrating, especially if you need to restart vim. Harpoon is working amazingly well with just 3 keymappings basically; mark this file, jump to the first mark, and show all the locations.
Maybe I should finally try this out. I've been navigating with the help of tmux, other file, C-I/O and telescopes fuzzy search open buffers. I also do splits to not lose files, but they always get mixed up after awhile.
super duper! don't make fun of me but I'm using this for a netxtjs / rust project and it is helping me bounce around between files like a 8 year old boy who had too much sugar! wonderful!
I am facing this exact same issue too and is frustrated to manage when I have opened many buffers. I ultimately use vim projectionist plugin from Tim pope and using alternate file feature that is relevant to the project I am working. I am impressed by your approach and will definitely try that.
I love this so much! It's exactly what I was looking for. There's a project where I definitely have to open a few files somewhere during the development and I have a habit of closing my vim down completely when I am done with a feature or something, it's like just a habit at this point. Sometimes I am not in the right subdirectory so I can't even fuzzyfind the file(s) I want to open. Harpoon is going to be a game changer for sure. Also, for some reason, I had completely forgotten about marks, even though I use them for quickly jumping to my vim conf lol. They could've at least removed some of the burden for sure.
What talking about projects in vim, you mean folders, right? For example when having marks per project, how does vim know which project you're in? By the working directory?
The concept feels similar to the argument list (`:help arglist`): `:arg foo.c bar.c baz.c` to keep a set of files, `:argu n` to edit the nth one, and abilities equivalent to buffers (`:next`, `:prev`, `:argdo`). Obviously, it's not as "interactive" as your plugin and it's not per-project.
I use vim + tmux with just like hundreds of named windows and sessions for all of my projects, I don’t leave the same terminal all day. I just swap session, I have a convention where my docker logs are on window 0 compiler is on 1 and 2 is my main function/router for web servers and then I branch out from there. If you get up to 9 windows you have gone too far and are probably hurting yourself
Looks like great plugin with a lot of power but I think that for me it has no use. Usually i'm all over the repo with lots of folders and files and instead of 4 main files i'm jumping between 10 or 20. So fzf is the way for now :D although it is emotionaly hurting me :D But thanks anyway, nice info and maybe day i will realize that there is some use. Keep it up ;)
A caffeine-fueled Starcraft-player-turned-programmer can't stand inefficiencies. This is the greatest channel ever. Also, that was a lot of hyphenation.
Star craft control groups is really what I was thinking about with this idea, perfect!
wait ThePrimeagen is a Starcraft player????
BASED
I frigin love this guy. He is so insane! What a pleasure to watch
thanks! I really appreciate the nice comments.
That's the greatest and smartest navigation strategy and implementation ever.
hopefully its good. Its just how I like to do it.
That dance was amazing. Also, this is a revelation. I have also been struggling with this issue for years. Vim users don't usually encounter this unless you are in a high production environment where things are constantly changing. My last attempt at trying to alleviate this problem in my workflow was using tabs, but you are absolutely right: using tabs are only adding to the burden. Can't wait to add this to my toolbox.
How you distilled the problem and arrived to the conclusion is awesome! Keep it up my man!
Thanks! Its hard some times to walk through my thought process and I miss context from time to time, but thank you for the encouraging note!
You have something here. Marks always seems so powerful to me and yet for some reason no one uses them. And I was trying to use them and only then I realized "What?, now I have to think in more marks for every project that I am working on" and then I see this video, talking about even more drawback that I didnt think of and giving a very natural and "vim way" solution. Looking forward for this now.
harpoon really changed the way I used to do things. After just 2 days of using installing. I can feel the power!!
The best tool to navigation I have been using every day, love it
You deserve an Emmy for that dance!
Haven't watched day 2 yet but damn this was a good talk. Finally convinced me to Install it and I gotta say, I can already feel the power!
yayayaya!
To be honest, when I watched your video I started noticing how much time I spend navigating between files and it started frustrating me. A LOT! Thanks!
I HAD TO install this plugin and since then - I'm a happier person.
*auto-updatable marks* - exactly what I was missing in (n)vim. This should be built-in. Thanks man!
that is how I feel! That was my big problem. Also the fact that if I switched cwd my marks remain totally screwing me up.
You're the one of my most favorite discoveries in recent memory. Understanding why you do the incredible work you do has helped me reflect on myself too. You're a blessing Prime, and thank you for helping coding padawans like me. After all you've been through and shared on your channel, you deserve every good thing coming your way.
Tldr: i admire prime more than coconut oil (blasphemy fr)
POGSLIDE I'm in the video POGSLIDE
DONT DO THIS
Very good video and very helpful
you are welcome
@@ThePrimeagen a video on your bash scripts
That is why I open all important files in splits and never close them. Hopefully harpoon is going to improve that workflow as now I will be able to finally write code in full-screen
holy cow! That would be a pain!
Great work. Great way to present where it's coming from.
Thank you^^
yayayayaya!
Using vim since 2006, still exiting with the power button
Pretty classic way to exit honestly.
Por que prime. This was a master piece talk. Also I was expecting a talk from tj on how to use coconut oil. Where is the talk?
hah. Tj does make an appearance
DDR king is oily! Btw, thank you for the harpoon gem! Excited to see the multiplex edition.
yaya! We will get there
Awesome thing Primeagen, thanks 🔥
It feels so natural to just write code and don't switch thoughts to finding files
btw: cool dance )
hah :) My dance moves are the best.
One of your best videos
thank you :)
Nice story. It reminds me of the glorious V mark in old Vim, it's always in my .vimrc. Still there, not moving, because I don't open vim now. Just neovim. Right now I solve the problem in the video with lua bufferline and pins. Pin buffers, close all others regularly.
Harpoon is one of the best vim plugins I installed this year. I was like "how did I code without this????" #yearslost
Thank you Prime for this plugin. I also love terminal functionality of it as well
I was using Try 1, because you mentioned `mJ` and `mK` in another video. It worked, but I'm happy with the upgrade to harpooning files instead. Thank you!
no problem. the navigation via global marks is emotionally draining when you have to switch projects.
@@ThePrimeagen having to remember to create the marks in the first place is also frustrating, especially if you need to restart vim. Harpoon is working amazingly well with just 3 keymappings basically; mark this file, jump to the first mark, and show all the locations.
Came for the dance moves. Stayed for the dance moves. Also Harpoon is pretty rad.
Shoot to thrill babe
Awesome!!! I understand what harpoon does and it's value now and want to try it! I constantly feel like I can't navigate fast enough!
yayayaya! That is why I made it
I came for the vim knowledge, I stayed for the screaming. And dancing.
excellent :)
So glad I found this channel
Maybe I should finally try this out. I've been navigating with the help of tmux, other file, C-I/O and telescopes fuzzy search open buffers. I also do splits to not lose files, but they always get mixed up after awhile.
yeah. Sounds like we are the same :)
this is the only channel that I tell myself ...must click the like button. love that dance!
Damn, that intro was sure fireeeee
Thought it was good
This is what I was looking for for so long
found this guy some days ago and im addicted hah
3:45 lol, did you say "no me gusta" ?
super duper! don't make fun of me but I'm using this for a netxtjs / rust project and it is helping me bounce around between files like a 8 year old boy who had too much sugar! wonderful!
that is awesome!
so much energy, so hilarious! and still good tech content!
You should start doing tik toks 😜
Hope you had a wonderful day at your first day of Netflix after the holidays
its been great!
Amazing Prime! Please put the git link in the description, people are gonna wanna use Harpoon after this !
OHH NO! sorry :)
Amazing plugin Prime! I see myself using it a lot. Very intuitive functionality.
I am facing this exact same issue too and is frustrated to manage when I have opened many buffers. I ultimately use vim projectionist plugin from Tim pope and using alternate file feature that is relevant to the project I am working. I am impressed by your approach and will definitely try that.
Doc would be proud of that dance
Funny thing, I know about Harpoon already, but why do I keep watching talks about it? Ohhh, I know why! The Coconut Man!
most excellent :) Here is some free oil
I love this so much! It's exactly what I was looking for. There's a project where I definitely have to open a few files somewhere during the development and I have a habit of closing my vim down completely when I am done with a feature or something, it's like just a habit at this point. Sometimes I am not in the right subdirectory so I can't even fuzzyfind the file(s) I want to open. Harpoon is going to be a game changer for sure. Also, for some reason, I had completely forgotten about marks, even though I use them for quickly jumping to my vim conf lol. They could've at least removed some of the burden for sure.
Can we get a harpoon preview window like telescope in vim buffer so that before selecting from the menu, we get to see what’s marked?
This is a great idea. Make an issue, consider it yourself. I don't use the window to navigate. Or bother TJ
In the video the mark of harpoon shows the full path of the file, what is not my case. How we can achieve that?
I am a bit confused as your question, could you try again?
@@ThePrimeagen In your case we see: lua/refactoring/treesitter/init.lua
in my case I can see only the basename (init.lua) listed on harpoon
The nft joke had me subscribed 😂😂😂😂
Looks awesome, thanks for another great talk! Already looking forward to the tmux version :o
I must have something messed up... when harpoon back to my files, it goes to a blank buffer.
This is the most intensive video I have ever watched. Inject Ritalin into this giy😂
You really need to do a brand new VIM setup now
What key mappings do you personally use with Harpoon?
Can you harpoon the coconut oil?
nope. Haproons come with oil already on them.
When are your videos going to be uploaded to Netflix? They are loosing a business opportunity here
That is how I feel
What talking about projects in vim, you mean folders, right?
For example when having marks per project, how does vim know which project you're in? By the working directory?
project is cwd / git root depending on how you use it.
Love your dance!
Anyone know what color theme hes rocking here? 14:00?
looks a lot like gruvbox
Gruvbox
Great video, hilarious that you then remained out of breath for the rest of the video :D
What was the song you were jammin to?
NCS release - Happy
@@ThePrimeagen Legend, thanks!
I thought you are going to cry on the end :D :D
I'm at the Buffer Next :bn :bp step.
it's awful... too many netrw buffers and things that I just wanted to grab a color or other style variables.
yeah! exactly!
I freaking love this guy ❤
That's really a cool plugin, I really really appreciate that, keep it up, thank you so much :)
I'm pretty new to your channel and boy 🤣, that Mike Tyson one had me dead 💀.
Btw, are you related to DocDisRespect in anyway? Just curious.
!brother
No we are not related, but some how we seem similar in a sense. Growing up in the 90s made some people a bit... weird
The voice, the energy and both legends in their own field .😛.
Great talk, miss a little the coconut oil tho
love ur plugins
why move to Tmux? isn't it to slow?
hey Prime, I haven't noticed before but sometines your voice sounds a lot like Steve Carell's
yeah. People say that.
You have strong vibes of Michael Scott (played by Steve Carell) from The Office
I fucking lost it at the interpretive dance. I love ThePrimeagen lol
Really thanks for harpoon!! I'm enjoying it a lot!! :>
Why not just use tabs? They are numbered, ordered and you can save them as sessions.
Are you using "sent" to display all of this slides ?
btw harpoo is bless!!!
nope! I am just using google power point. I am lame.
Man I love this guys kkkkkkkkkkkkkkkkkkkkkkkkkkkk
love it!
Ty
6:45 Why not simply open files in tabs? then you can do `gt` (and its variants) to switch between tabs?
The concept feels similar to the argument list (`:help arglist`): `:arg foo.c bar.c baz.c` to keep a set of files, `:argu n` to edit the nth one, and abilities equivalent to buffers (`:next`, `:prev`, `:argdo`). Obviously, it's not as "interactive" as your plugin and it's not per-project.
yeah. I haven't explored arglist, but its on my todo.
Nice vid bro
I use vim + tmux with just like hundreds of named windows and sessions for all of my projects, I don’t leave the same terminal all day. I just swap session, I have a convention where my docker logs are on window 0 compiler is on 1 and 2 is my main function/router for web servers and then I branch out from there. If you get up to 9 windows you have gone too far and are probably hurting yourself
Installed for 2023!
I had same experience as yours. I had to turn off my computer to exit from VIM
i can do it, I CAN DO ITTT
I CAN DO IT TOO
'somebody should make an NFT out of this" 😂
dude I love you
Thank you
ok I'm hooked
We also want Harpoon for Vim!!!! 😭
Please Lord Primeagen, don't let Vim Conference 2021 get lost in Twitch's sands of time (a.k.a. retention policies) and upload it maybe here? (:
Is this Dr Disrespect of programming?
insane the leghths some will go to avoid using fuzzy finding or gasp a mouse.
where is the yeah kid you're about to get powerpointed meme??????????????? btw good vid
Hah! It was a live presentation, so I couldn't be as goof :)
like how after the dancing he changes into OutOfBreathPrimeagen for the rest of the talk
af pluth-pluth @9:33 killed me....
Nice
ty
RAUULLLLLLL
Por que maria?
“Try shift for a straight line”
Looks like great plugin with a lot of power but I think that for me it has no use. Usually i'm all over the repo with lots of folders and files and instead of 4 main files i'm jumping between 10 or 20. So fzf is the way for now :D although it is emotionaly hurting me :D
But thanks anyway, nice info and maybe day i will realize that there is some use. Keep it up ;)
just trying to solve problems!
I find when I am creating a new feature, this is generally true, when debugging, generally false.
@@ThePrimeagen maybe i will fork it and modify a little bit ;) cause it looks really nice, thanks for this
This is amazing, too much coconut oil to digest, well done!
ngl, didn't he just re-invent tabs??
how you close vim without closing tabs? like in vscode. If I will open vscode, I will have my tabs opened where I left them. Is it possible in neovim?
This shit is epic.
Copilot was released for vim
yes it was