Harpoon : Vim Conference 2021

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 210

  • @austinreynolds2554
    @austinreynolds2554 3 роки тому +297

    A caffeine-fueled Starcraft-player-turned-programmer can't stand inefficiencies. This is the greatest channel ever. Also, that was a lot of hyphenation.

    • @josevargas686
      @josevargas686 Рік тому +5

      Star craft control groups is really what I was thinking about with this idea, perfect!

    • @henryharrison5927
      @henryharrison5927 6 місяців тому

      wait ThePrimeagen is a Starcraft player????
      BASED

  • @nakoskyranos4080
    @nakoskyranos4080 3 роки тому +337

    I frigin love this guy. He is so insane! What a pleasure to watch

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +75

      thanks! I really appreciate the nice comments.

  • @lpanebr
    @lpanebr 3 роки тому +17

    That's the greatest and smartest navigation strategy and implementation ever.

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +5

      hopefully its good. Its just how I like to do it.

  • @jeezusjr
    @jeezusjr 3 роки тому +60

    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.

  • @sebastianc4557
    @sebastianc4557 3 роки тому +52

    How you distilled the problem and arrived to the conclusion is awesome! Keep it up my man!

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +8

      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!

  • @Megalcristo2
    @Megalcristo2 2 роки тому +11

    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.

  • @niteshsangroula2698
    @niteshsangroula2698 2 роки тому +6

    harpoon really changed the way I used to do things. After just 2 days of using installing. I can feel the power!!

  • @daltonyon
    @daltonyon Рік тому +3

    The best tool to navigation I have been using every day, love it

  • @Amapramaadhy
    @Amapramaadhy 3 роки тому +10

    You deserve an Emmy for that dance!

  • @kalvinpearce
    @kalvinpearce 3 роки тому +62

    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!

  • @bartomiejklimczak3407
    @bartomiejklimczak3407 3 роки тому +3

    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.

  • @mateharu
    @mateharu 3 роки тому +15

    *auto-updatable marks* - exactly what I was missing in (n)vim. This should be built-in. Thanks man!

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +5

      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.

  • @RenaudAlly
    @RenaudAlly Рік тому +1

    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)

  • @teej_dv
    @teej_dv 3 роки тому +18

    POGSLIDE I'm in the video POGSLIDE

  • @threesidecreaters2572
    @threesidecreaters2572 3 роки тому +12

    Very good video and very helpful

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      you are welcome

    • @nishapk1689
      @nishapk1689 3 роки тому +1

      @@ThePrimeagen a video on your bash scripts

  • @parthapal333
    @parthapal333 3 роки тому +14

    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

  • @mar-wv7rp
    @mar-wv7rp 3 роки тому +8

    Great work. Great way to present where it's coming from.
    Thank you^^

  • @oceans11nemesis
    @oceans11nemesis 3 роки тому +4

    Using vim since 2006, still exiting with the power button

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      Pretty classic way to exit honestly.

  • @SkyKosiner
    @SkyKosiner 3 роки тому +11

    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?

  • @n0kodoko143
    @n0kodoko143 3 роки тому +6

    DDR king is oily! Btw, thank you for the harpoon gem! Excited to see the multiplex edition.

  • @rbereziuk
    @rbereziuk 3 роки тому +14

    Awesome thing Primeagen, thanks 🔥
    It feels so natural to just write code and don't switch thoughts to finding files
    btw: cool dance )

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +3

      hah :) My dance moves are the best.

  • @hossameldinabdin6932
    @hossameldinabdin6932 3 роки тому +2

    One of your best videos

  • @nahblue
    @nahblue Рік тому +1

    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.

  • @albertlee9592
    @albertlee9592 3 роки тому +11

    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

  • @TamaMcGlinn
    @TamaMcGlinn 3 роки тому +4

    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
      @ThePrimeagen  3 роки тому +3

      no problem. the navigation via global marks is emotionally draining when you have to switch projects.

    • @TamaMcGlinn
      @TamaMcGlinn 3 роки тому +2

      @@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.

  • @williamtaylor2807
    @williamtaylor2807 3 роки тому +24

    Came for the dance moves. Stayed for the dance moves. Also Harpoon is pretty rad.

  • @KikoKing
    @KikoKing 3 роки тому +3

    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!

  • @KENTOSI
    @KENTOSI 3 роки тому +3

    I came for the vim knowledge, I stayed for the screaming. And dancing.

  • @drewad0
    @drewad0 Рік тому

    So glad I found this channel

  • @slipcurve1410
    @slipcurve1410 3 роки тому +9

    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.

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +3

      yeah. Sounds like we are the same :)

  • @dq9342
    @dq9342 2 роки тому

    this is the only channel that I tell myself ...must click the like button. love that dance!

  • @davidhero125
    @davidhero125 3 роки тому +3

    Damn, that intro was sure fireeeee

  • @alexpan4987
    @alexpan4987 3 роки тому

    This is what I was looking for for so long

  • @k1mpman
    @k1mpman 3 роки тому +1

    found this guy some days ago and im addicted hah

  • @zenmachina6735
    @zenmachina6735 3 роки тому +1

    3:45 lol, did you say "no me gusta" ?

  • @hamburger-fries
    @hamburger-fries 3 роки тому +1

    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!

  • @eduardosanzb
    @eduardosanzb 2 роки тому +3

    so much energy, so hilarious! and still good tech content!
    You should start doing tik toks 😜

  • @sasipraveen5257
    @sasipraveen5257 3 роки тому +4

    Hope you had a wonderful day at your first day of Netflix after the holidays

  • @lamprospitsillou6325
    @lamprospitsillou6325 3 роки тому +1

    Amazing Prime! Please put the git link in the description, people are gonna wanna use Harpoon after this !

  • @re1konn
    @re1konn Рік тому

    Amazing plugin Prime! I see myself using it a lot. Very intuitive functionality.

  • @adeelcap15
    @adeelcap15 2 роки тому

    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.

  • @dave4347
    @dave4347 9 місяців тому

    Doc would be proud of that dance

  • @Guergeiro
    @Guergeiro 3 роки тому +7

    Funny thing, I know about Harpoon already, but why do I keep watching talks about it? Ohhh, I know why! The Coconut Man!

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      most excellent :) Here is some free oil

  • @ayushmandowara5446
    @ayushmandowara5446 2 роки тому

    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.

  • @tinnick
    @tinnick 3 роки тому +1

    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?

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      This is a great idea. Make an issue, consider it yourself. I don't use the window to navigate. Or bother TJ

  •  3 роки тому +2

    In the video the mark of harpoon shows the full path of the file, what is not my case. How we can achieve that?

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      I am a bit confused as your question, could you try again?

    •  2 роки тому

      @@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

  • @eliodrallag4806
    @eliodrallag4806 3 роки тому

    The nft joke had me subscribed 😂😂😂😂

  • @stefanpetursson6520
    @stefanpetursson6520 3 роки тому +1

    Looks awesome, thanks for another great talk! Already looking forward to the tmux version :o

  • @goodoleme747
    @goodoleme747 2 роки тому

    I must have something messed up... when harpoon back to my files, it goes to a blank buffer.

  • @empirechen
    @empirechen 7 місяців тому +1

    This is the most intensive video I have ever watched. Inject Ritalin into this giy😂

  • @redone729
    @redone729 3 роки тому +1

    You really need to do a brand new VIM setup now

  • @elixirfun
    @elixirfun 2 роки тому +1

    What key mappings do you personally use with Harpoon?

  • @reo101
    @reo101 3 роки тому +3

    Can you harpoon the coconut oil?

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      nope. Haproons come with oil already on them.

  • @lucasteixeira5346
    @lucasteixeira5346 3 роки тому +1

    When are your videos going to be uploaded to Netflix? They are loosing a business opportunity here

  • @garkeinen7034
    @garkeinen7034 2 роки тому +1

    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?

    • @ThePrimeagen
      @ThePrimeagen  2 роки тому

      project is cwd / git root depending on how you use it.

  • @chenle02
    @chenle02 3 роки тому +1

    Love your dance!

  • @illusry7631
    @illusry7631 Рік тому

    Anyone know what color theme hes rocking here? 14:00?

  • @tobias-edwards
    @tobias-edwards 2 роки тому

    Great video, hilarious that you then remained out of breath for the rest of the video :D

  • @Volatuhl
    @Volatuhl 3 роки тому +1

    What was the song you were jammin to?

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      NCS release - Happy

    • @Volatuhl
      @Volatuhl 3 роки тому

      @@ThePrimeagen Legend, thanks!

  • @leknyzma
    @leknyzma 3 роки тому +1

    I thought you are going to cry on the end :D :D

  • @mvargasmoran
    @mvargasmoran 3 роки тому +4

    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.

  • @alfredomenezes8814
    @alfredomenezes8814 2 роки тому

    I freaking love this guy ❤

  • @thangphan6047
    @thangphan6047 2 роки тому

    That's really a cool plugin, I really really appreciate that, keep it up, thank you so much :)

  • @mhmmdshaz98
    @mhmmdshaz98 3 роки тому +3

    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.

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      !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

    • @mhmmdshaz98
      @mhmmdshaz98 3 роки тому

      The voice, the energy and both legends in their own field .😛.

  • @le0nz
    @le0nz 3 роки тому +2

    Great talk, miss a little the coconut oil tho

  • @nahidahmed9153
    @nahidahmed9153 Рік тому

    love ur plugins

  • @luxusAI
    @luxusAI 3 роки тому

    why move to Tmux? isn't it to slow?

  • @pascualsu
    @pascualsu 3 роки тому +2

    hey Prime, I haven't noticed before but sometines your voice sounds a lot like Steve Carell's

  • @ЄвгенКолодько
    @ЄвгенКолодько 2 роки тому

    You have strong vibes of Michael Scott (played by Steve Carell) from The Office

  • @mcfincher29
    @mcfincher29 8 місяців тому +1

    I fucking lost it at the interpretive dance. I love ThePrimeagen lol

  • @atilagamasilva508
    @atilagamasilva508 3 роки тому

    Really thanks for harpoon!! I'm enjoying it a lot!! :>

  • @BogdanTheGeek
    @BogdanTheGeek Рік тому

    Why not just use tabs? They are numbered, ordered and you can save them as sessions.

  • @Vulto166
    @Vulto166 3 роки тому

    Are you using "sent" to display all of this slides ?
    btw harpoo is bless!!!

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      nope! I am just using google power point. I am lame.

  • @leofreiitas
    @leofreiitas 2 роки тому

    Man I love this guys kkkkkkkkkkkkkkkkkkkkkkkkkkkk

  • @narwashius1176
    @narwashius1176 3 роки тому +1

    love it!

  • @sirnawaz
    @sirnawaz 4 місяці тому

    6:45 Why not simply open files in tabs? then you can do `gt` (and its variants) to switch between tabs?

  • @TheRealDavidGoodenough
    @TheRealDavidGoodenough 3 роки тому +3

    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.

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      yeah. I haven't explored arglist, but its on my todo.

  • @health_doc
    @health_doc Місяць тому

    Nice vid bro

  • @scottspitlerII
    @scottspitlerII 2 роки тому +1

    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

  • @nickmills8476
    @nickmills8476 2 роки тому

    Installed for 2023!

  • @shailmurtaza9082
    @shailmurtaza9082 Рік тому

    I had same experience as yours. I had to turn off my computer to exit from VIM

  • @N0thingFR89
    @N0thingFR89 3 роки тому +2

    i can do it, I CAN DO ITTT

  • @ismail-talb
    @ismail-talb 3 роки тому

    'somebody should make an NFT out of this" 😂

  • @codemonk9
    @codemonk9 3 роки тому +1

    dude I love you

  • @NikolaNevenov86
    @NikolaNevenov86 2 роки тому

    ok I'm hooked

  • @aitorramirez5173
    @aitorramirez5173 2 роки тому

    We also want Harpoon for Vim!!!! 😭

  • @rentziass
    @rentziass 3 роки тому

    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? (:

  • @locky326
    @locky326 2 роки тому

    Is this Dr Disrespect of programming?

  • @losthighway4840
    @losthighway4840 2 роки тому

    insane the leghths some will go to avoid using fuzzy finding or gasp a mouse.

  • @darioh785
    @darioh785 3 роки тому +1

    where is the yeah kid you're about to get powerpointed meme??????????????? btw good vid

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому

      Hah! It was a live presentation, so I couldn't be as goof :)

  • @brunomello7499
    @brunomello7499 2 роки тому +1

    like how after the dancing he changes into OutOfBreathPrimeagen for the rest of the talk

  • @noahklauck
    @noahklauck Рік тому

    af pluth-pluth @9:33 killed me....

  • @darccau7204
    @darccau7204 3 роки тому +2

    Nice

  • @sasipraveen5257
    @sasipraveen5257 3 роки тому +5

    RAUULLLLLLL

  • @nathanbourquin6554
    @nathanbourquin6554 Рік тому

    “Try shift for a straight line”

  • @Spuny4
    @Spuny4 3 роки тому

    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 ;)

    • @ThePrimeagen
      @ThePrimeagen  3 роки тому +1

      just trying to solve problems!
      I find when I am creating a new feature, this is generally true, when debugging, generally false.

    • @Spuny4
      @Spuny4 3 роки тому

      @@ThePrimeagen maybe i will fork it and modify a little bit ;) cause it looks really nice, thanks for this

  • @juangamboa2646
    @juangamboa2646 3 роки тому

    This is amazing, too much coconut oil to digest, well done!

  • @dummybugstudios6450
    @dummybugstudios6450 Рік тому +1

    ngl, didn't he just re-invent tabs??

    • @shailmurtaza9082
      @shailmurtaza9082 Рік тому

      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?

  • @chyldstudios
    @chyldstudios 3 роки тому +2

    This shit is epic.

  • @Oblisk-i8h
    @Oblisk-i8h 3 роки тому +1

    Copilot was released for vim