Teaching Neovim From Scratch To A Noob

Поделиться
HTML-код
  • Опубликовано: 13 апр 2024
  • LIVE ON TWITCH: / theprimeagen
    Become a backend engineer. Its my favorite site
    boot.dev/?promo=PRIMEYT
    This is also the best way to support me is to support yourself becoming a better backend engineer.
    Get in on Discord: / discord
    Get in on Twitter: / theprimeagen
    Got Something For Me to Read or Watch??:
    / theprimeagenreact
  • НаукаНаука

Комментарии • 218

  • @fkeyzuwu
    @fkeyzuwu Месяц назад +702

    "Teaching Neovim from scratch to a noob"
    *30 seconds in*
    "yeah ive been using vim for 10 years"
    bruh

    • @no_name4796
      @no_name4796 Месяц назад +62

      Techinically a neovim noob

    • @bursoft8165
      @bursoft8165 Месяц назад

      @@no_name4796

    • @mvargasmoran
      @mvargasmoran Месяц назад +26

      The man was pretty much a Neovim noob. Anthony was using vim and really narrow subset of commands, it shows.

    • @anj000
      @anj000 Месяц назад +10

      Bruuuuh, exactly my reaction.
      If someone using vim for 10 years is a "noob", who am I if I NEVER used vim?

    • @Matois1
      @Matois1 Месяц назад +17

      The dude didn't know how to split with v, how to open help, how to differentiate registers... That's a noob. It doesn't matter how much he used the tool if he's not profficient

  • @potatopassingby1148
    @potatopassingby1148 Месяц назад +278

    title: "To A Noob"
    first 30 seconds in: "so I've been using vim for 10 years..."

    • @RamPageMMA
      @RamPageMMA Месяц назад

      vim and neovim are kind of different tho. Neovim modernizes Vim by enhancing its features and improving plugin support.

    • @GIGADEV690
      @GIGADEV690 Месяц назад +1

      @@RamPageMMA Bro its not totally different thing no way 10 years is noob.

    • @xtunasil0
      @xtunasil0 16 дней назад

      ​​@@GIGADEV690but if you watch the video, you can see he really doesn't know some basic command and I was wondering why he was using VIM for 10 years.

  • @AntonioDoesMetal
    @AntonioDoesMetal Месяц назад +288

    Going to keep commenting on these videos that are more teaching/tutorial based saying that I love this style of content

    • @Red-Orm
      @Red-Orm Месяц назад

      I absolutely agree

    • @KoopstaKlicca
      @KoopstaKlicca Месяц назад +2

      100 hundred percent (also commenting for the algorithm)

    • @RajSingh-gz6mr
      @RajSingh-gz6mr Месяц назад

      I live for this content 🥲🤩! I will also kickstart!

    • @abdulalimmahir
      @abdulalimmahir Месяц назад +3

      The best thing about this video was that guy's reactions and mistypes, absolutely relatable.

    • @John81oConnory
      @John81oConnory Месяц назад

      100%

  • @daphenomenalz4100
    @daphenomenalz4100 Месяц назад +131

    I love how everyone was SCREAMING FOR TMUX when he said he wanted terminal on the bottom 😂

  • @austin7591
    @austin7591 Месяц назад +29

    This just shows you how good of a mentor Prime is, this dude was all over the place and Prime just keeps his cool and walks him through with clarity. It's a good example for me as I'm coming up on 3 years of experience and mentoring fresh engineers

  • @nowaymyname
    @nowaymyname 5 дней назад +1

    This video is a great reminder that not all people are easy to teach. This guy has 10 years of experience with vim and he is still stumbling around on Neovim worse than I did when I started learning it. That's fine but he is completely taking for granted how digestible Prime is making neovim feel like. Neovim is hard to jump into and Prime made me feel like I was more than capable of learning it because I am nowhere as scattered as this guy is and if he can do it, I certainly can. Thank you Prime, more content like this would be appreciate it. If you need another noob to teach Neovim to, I can be that guy :P

  • @arafays
    @arafays Месяц назад +77

    I know prime hates pair programming but this needs to be a series.... like
    go programmer learns vim from prime
    typescript programmer learns vim
    nextjs developer learns vim etc

    • @chizidotdev
      @chizidotdev Месяц назад +7

      nextjs developer..? Oh dear God😂

    • @stickyblicky11
      @stickyblicky11 Месяц назад +5

      @@chizidotdev I'm a Tailwindcss dev

    • @seannewell397
      @seannewell397 Месяц назад +2

      Yes. Pair programming is _the_ biggest accelerant to a person's career early on imo. Provides an invaluable experience.

    • @arafays
      @arafays Месяц назад

      @@chizidotdev it would be really funny prime setting up keymaps for them.

    • @seand7603
      @seand7603 Месяц назад +1

      Css dev? Heh k

  • @aseeralfaisalsaad
    @aseeralfaisalsaad Месяц назад +22

    Many people don't know the fact that windows terminal has tmux like features. u can split panes vertically, horizontally and can also resize em and close. Check the commands on the command pallette of WT. alt+shift+ is vertical split and alt+shift+ - is horizontal split. Hold alt and arrow keys to change panes. Ctrl+shift+w to close

    • @fourcoding3198
      @fourcoding3198 Месяц назад +3

      That's true and you can also change the keybindings. However, as far as I know (as a tmux-beginner), tmux has many more features than just splitting, e.g. multiple sessions with the possibility of detaching, renaming of windows, better navigation between panes/windows, tmux-internal copy buffer. In addition to all that you can further extend tmux with plugins and themes.

    • @patrickkdev
      @patrickkdev Месяц назад +1

      I believe mac os terminal can also split panes

  • @zheil9152
    @zheil9152 Месяц назад +8

    Thank you for saving this segment of your stream. Couldn’t follow along at work when it happened live

  • @zacharyjensen7661
    @zacharyjensen7661 Месяц назад +2

    I did not know that semicolon and comma repeated the find character forward and backward. You really learn something new every time you watch someone else using Vim/Neovim.

  • @bannji6434
    @bannji6434 Месяц назад +8

    thank you for uploading the vod, great stuff!

  • @kristinapianykh9445
    @kristinapianykh9445 Месяц назад +2

    primeagen got me into nvim and now I can't stop tweaking all the little things that make me really enjoy my editing experience. And still there's always so much more to learn. Loving it!

  • @nonetype66
    @nonetype66 Месяц назад +1

    I just started my journey into neovim with kickstarter this week. And this video just made it so much more clear. I WOULD PAY YOU TO TUTOR ME

  • @user-cr3dn9vt6h
    @user-cr3dn9vt6h Месяц назад +32

    Ah, and here i am clicking at the video and realizing that "noob" is called someone who used Vim for 10 years. Clickbait title

  • @MEMETV1
    @MEMETV1 Месяц назад +2

    THIS IS WHY I LOVE SUPPORTING YOU PRIME! Thank you thank you thank you!!!!!!!!

  • @edharmsen4437
    @edharmsen4437 Месяц назад +3

    Gold! I like you speaking in a more human tempo than on The Primeagen channel. (I'm old) Thanks!

  • @Astr0_593
    @Astr0_593 Месяц назад +25

    50:40 "it's just another buffer, it's okay" 😭😭

    • @theodorealenas3171
      @theodorealenas3171 Месяц назад +2

      Btw that's legit a thing for me. If my files etc are displayed in just another buffer I do feel more okay

  • @lonederanger3581
    @lonederanger3581 Месяц назад +4

    Love the tutorial type things. Thanks Mr. Vimeagen

  • @pietraderdetective8953
    @pietraderdetective8953 Месяц назад +1

    WTF?? Why did I get goosebumps when Anthony says Elixir a couple of times in the 46th minutes!!
    the hairs on my arms are tingling LOL!

  • @everyDev-everyDay
    @everyDev-everyDay Месяц назад +1

    I recognized the Go Father voice and accent from far away liked the vid awesome work Primeagen, Thank you!!!

  • @blueturtle5
    @blueturtle5 Месяц назад

    Thank you prime! Loving these educational videos.

  • @specdesa
    @specdesa Месяц назад +2

    Thanks for mentioning trouble by Folke. Just made my experience better!

  • @srijanraghavula
    @srijanraghavula 25 дней назад

    Please do more of this stuff. Really helpful.

  • @specdesa
    @specdesa Месяц назад +1

    Thanks for mentioning Trouble. Made my experience better!

  • @maxcharacterlimitreache-
    @maxcharacterlimitreache- Месяц назад +3

    by the title, finally something i might be able to understand from prime

  • @CalvinB_
    @CalvinB_ Месяц назад +1

    I love picking up all the little tricks your dropng (ctl+^, [d ]d ) thanks prime!

  • @ghostpants8172
    @ghostpants8172 Месяц назад

    ctrl+p or p was what I was looking all along... and the rest of the telescope stuff really. It's a must when you're from vscode land.

  • @kot_ciat
    @kot_ciat Месяц назад +2

    I was hoping you/Flip put that stream part on youtube, this is a great resource

  • @user-gu9mf9rm3p
    @user-gu9mf9rm3p Месяц назад

    what an amazing and helpful video , Thank you for sharing this video with us

  • @XDarkGreyX
    @XDarkGreyX Месяц назад

    I am gonna watch this entire thing. Now it resonates even more withme because I finally got myself vimmotions for VSC after over a year. Not quite ready to take the Vim pill, though I have never really been a VSC worshipper nor "good" mouse user imo. I do like using my keyboard.

  • @FilipeAparecidofra
    @FilipeAparecidofra Месяц назад +3

    Best cross-over in a best topic!

  • @decky1990
    @decky1990 Месяц назад +1

    Learning ‘,’ during ‘f/F’was handy as anything

  • @opposite342
    @opposite342 24 дня назад

    This vid really get me to reconfigured my stuffs more to my preferences.
    One thing I won't change for now is from Packer to Lazy cuz I'm kinda lazy (no pun intended)
    Also omg ctrl + ^ is very eye-opening.

  • @danjto
    @danjto 23 дня назад

    As a noob myself, I thoroughly enjoyed this video.
    I know you're not a fan of pair programming but I'd love to see more videos like this.
    You and Anthony could do a "vim noob to power user" series lol

  • @marinftw
    @marinftw Месяц назад

    I love the power of Vim/NVim and the flexibility of it. I used it for years and after seeing your videos I kitted out a fairly capable nvim setup. However, the debugger configuration and UX is rough. Would love to see you configure that and interact with it. Videos out there about that only set it up and run it but don’t really debug anything which doesn’t highlight the problem with the flow.

  • @Faskosu
    @Faskosu Месяц назад

    It's so funny that the green on the screen is getting captured and filtered at the start lmao

  • @lazyh0rse
    @lazyh0rse Месяц назад +7

    one of the things surprised me is that neovim is actually fully cross platform with windows. So if he uses windows, he can use Nvy as a neovim gui renderer with neovim. And use neovim as if he were in a unix system. Except of course the command line will be powershell. But everything so far works great in my case. Lsp, telescope, completions, etc. Moreover, the configurations are identical if you use a linux system, so it's completely portable too.
    I use Linux on my work pc, but sometimes I develop a little bit on my personal pc, which have windows installed on it. So in my case this saves me a huge deal of going through wsl and stuff.

    • @adaniel2929
      @adaniel2929 Месяц назад +2

      You can run nvim in git bash if necessary too, or WSL even

    • @Richetechguy
      @Richetechguy Месяц назад

      I've used both powershell/wsl setup wsl feels more performant, in combo with tmux/zellij and many other cli apps that just work on linux

    • @DMSBrian24
      @DMSBrian24 Месяц назад

      just get a better terminal and run WSL, problem solved

  • @saleenapatel
    @saleenapatel Месяц назад

    man this is gonna be awesome

  • @lil10dot
    @lil10dot Месяц назад

    you can do line spacing in the windows terminal in settings -> default profile (or any profile) -> appearance

  • @yakomisar
    @yakomisar Месяц назад

    Thanks. It was an awesome nvim journey.

  • @alvaroarenasu2
    @alvaroarenasu2 Месяц назад

    This video is gold. I am giving neovim once more a try for work. The only thing I am missing is the "change signature" in Golang and I would be set. Any tips?
    Maybe a workflow how to do that refactor using quicklist?

  • @moistness482
    @moistness482 Месяц назад

    This is the crossover episode I didn't want, but needed

  • @garrettsmith315
    @garrettsmith315 Месяц назад +3

    Two of my favorite youtubers coming together for my favorite IDE.

  • @karanraval5046
    @karanraval5046 Месяц назад +1

    Literally prime content!

  • @peekknuf
    @peekknuf Месяц назад +1

    now that's an absolute banger

  • @renkinjutsu01
    @renkinjutsu01 Месяц назад +1

    5:38 I think he was actually pasting INTO the terminal instead of pasting from the vim "+ register. That might be why he got that popup. Unless yank32 has the permission dialog by default.

  • @inevespace
    @inevespace Месяц назад +1

    Thank you, it was very helpful. Now I can easily move my vimrc to lua

  • @tekipeps
    @tekipeps Месяц назад +3

    That's no noob bruh

  • @truth_4lif399
    @truth_4lif399 Месяц назад

    Love it! Thanks good Vid

  • @dayrine9835
    @dayrine9835 Месяц назад

    Amazing content

  • @abdellahcodes
    @abdellahcodes Месяц назад

    16:43 Seeing trailing white space is pretty useful

  • @marcrobison2125
    @marcrobison2125 Месяц назад +1

    This is awesome

  • @JoseGarcia-qq6sk
    @JoseGarcia-qq6sk Месяц назад

    Pure gold this video

  • @truceheat1671
    @truceheat1671 Месяц назад +4

    Are we calling GG noob now 😂

  • @iWigY
    @iWigY Месяц назад

    Gracias senior, this helps a lot..

  • @RifatNabi
    @RifatNabi Месяц назад +1

    Hey Prime, you obviously don't need which-key. But based on this session, it's pretty apparent that the other person would benefit from it.

  • @ayushtripathi4514
    @ayushtripathi4514 Месяц назад

    this is awesome, really.

  • @MsDuketown
    @MsDuketown Месяц назад

    What did you do to you old setup, with VIM and before kernel 6?
    Did you forget the disclaimer about profiles and sessions? Amateur mistake.
    And which widget kit do you guys use? KDE or Gnome?
    And good-old X server or MIR/Wayland?

  • @elkcityhazard
    @elkcityhazard Месяц назад

    I love anthonygg showing up on the vimeagan.

  • @Jonathan-di1pb
    @Jonathan-di1pb Месяц назад

    The thing people tend to mis I feel is that Neovim is a process. You don't go to the intimidating endgame right away. You use a base config until you notice small annoyences, try to fix em and get increasingly good at it and make increasingly bigger changes until you have your dream editor. You'll probably be slower than vscode in the beginning, but its just an investment.

  • @markgandolfo6477
    @markgandolfo6477 27 дней назад

    as soon as he turned his line numbers off, I was like damn prime's going to have a hard time giving instructions.. then the rest of the video "no go one line lower, no you've gone to far, one up, wait no, go to the one that says x"...

  • @vaisakhkm783
    @vaisakhkm783 Месяц назад +4

    Who is anthony???

  • @benarcher372
    @benarcher372 Месяц назад

    This might be interesting!

  • @pabloqp7929
    @pabloqp7929 Месяц назад

    Nice collab

  • @robertj.3682
    @robertj.3682 Месяц назад

    What a legend

  • @dylancam812
    @dylancam812 Месяц назад

    Updated primeagen video on neovim and updated theo video on t3 stack drop on the same day. I'm in tutorial heaven rn

  • @m4rt_
    @m4rt_ Месяц назад

    I have bound Ctrl+W to save/write because sometimes I feel like that typing out :w manually is too slow/anoying
    I also have bound Ctrl+Q to quit for the same reason.
    So I have bound splitting to Ctrl+C + S (horizontal) and Ctrl+C + V (vertical)

  • @Patrickdaawsome
    @Patrickdaawsome Месяц назад

    hell yeah Anthony GG

  • @matez8355
    @matez8355 Месяц назад

    Exflix prime is cooking

  • @ali2kan
    @ali2kan Месяц назад +2

    Arrow keys are mostly used for porn and gaming.

  • @yasengo
    @yasengo Месяц назад

    I'm nvim noob is there any solution..my problem is that i while i was working with react-router-dom, why its not suggesting like useNavigate when i already had installed router package but work fine with react query..

  • @miletadulovic577
    @miletadulovic577 Месяц назад

    Hey Prime, quick question. Any tips on what to use instead of tsserver?

  • @adaniel2929
    @adaniel2929 Месяц назад +2

    As someone who is learning nvim on Windows myself I've found its best to make your environment as linux like as possible. I'm in between using chocolatey as a native package manager for windows while i code or just using WSL (wsl uses a LOT of ram due to virtualization but gives me a proper linux terminal). Also why is it so easy to fall for vim? I've been on windows all my life, I haven't touched DOS since the 90s and my terminal usage is limited yet the simplistic nature of doing all my work on a big blank canvas and zero distractions makes me happy.

    • @ismbks
      @ismbks Месяц назад +1

      have you tried scoop? when i had to use windows it was my "package manager" of choice
      it's not perfect by any means but i found it working better than choco for unix-y programs

    • @adaniel2929
      @adaniel2929 Месяц назад

      @@ismbks i haven't tried it no but thank you, ill look at it

    • @connorsweeney6210
      @connorsweeney6210 Месяц назад

      @@adaniel2929 i use winget, completely native to windows and theres nothing ive found that it doesnt have a package for so far, its very nice

    • @demolazer
      @demolazer Месяц назад +1

      And once you use a lot you're trapped. The key bindings become such fine muscle memory that using any other editor quickly leads to confusion

    • @adaniel2929
      @adaniel2929 Месяц назад

      @@demolazer I'm learning them slowly but hjkl and plenty of others are already filling my head. Not sure about trapped, however, since even if I'm in vs code i feel like I'm improving my ability to focus on typing.
      Actually getting flashbacks to when I was a kid in the 90s, playing around on my mom's word processor.

  • @LemonZorzCinema
    @LemonZorzCinema Месяц назад

    How does he move the viewport AND move the cursor along with the screen? Every time I look this up people say you need to set a keybind to do both move line and move viewport at the same time but he’s doing it on a “fresh” install

    • @LemonZorzCinema
      @LemonZorzCinema Месяц назад

      In case anyone else see this and wants this too i figured it out:
      you set "vim.opt.scrolloff = 1" and this will keep that many lines above and below the cursor. you can set it to something really high and always have the cursor centered on the screen.

  • @Necessarius
    @Necessarius Месяц назад

    Finally! After 10 years of using vim i can learn how to use it

  • @pratikbin
    @pratikbin Месяц назад

    Love it

  • @itsmenewbie03
    @itsmenewbie03 Месяц назад

    ironic but I saw a video from AnthonyGG talking why he switched from neovim to vscode?

  • @lpanebr
    @lpanebr Месяц назад

    Cellular automation is insane 😂😂😂

  • @wh7988
    @wh7988 Месяц назад

    9:39 literally changed my leader away from comma after that rant

  • @Laflamablanca969
    @Laflamablanca969 Месяц назад

    Wasn’t the title originally “Teaching neovim to a noob”??

  • @sebby5336
    @sebby5336 Месяц назад +1

    12:31 I hate mouses too, relatable.

    • @devcoffee
      @devcoffee Месяц назад

      Built in trackball into the keyboard is the solve.

  • @robertj1679
    @robertj1679 16 дней назад

    Holy Shit dap is amazing

  • @johnforeverrules
    @johnforeverrules Месяц назад

    i thought something was wrong with my configuration when my gopls was running very slow.

  • @5kr0dy16
    @5kr0dy16 Месяц назад

    I don’t know why but this guy really bugged me lol “you know what I mean?”😅

  • @cherry-55
    @cherry-55 Месяц назад

    that voice sounds familiar :D

  • @victordvickie
    @victordvickie Месяц назад

    Classic prime telling git gud 38:57

  • @eyzake
    @eyzake Месяц назад

    hmmm i had been using vim for 3 days and yep relatable

  • @thederpykrafter
    @thederpykrafter Месяц назад

    LazyVim has a terminal you can show and hide and i still find myself using a seperate terminal window/tab

    • @demolazer
      @demolazer Месяц назад

      I prefer separate tab. Just shift-arrow to switch between. So :wa shift-right up-enter has become like breathing.

  • @attentioncestpaslegal7847
    @attentioncestpaslegal7847 Месяц назад

    Please go up to setting up NeoVim up to professional Python coding !

  • @pranavbobde2529
    @pranavbobde2529 7 дней назад

    Anyone know how he maps ctrl+f to fzf? or is it something else?

  • @orcus_irl
    @orcus_irl 9 дней назад

    he switched to vscode again

  • @aseeralfaisalsaad
    @aseeralfaisalsaad Месяц назад +1

    For line spacing
    :set tabstop=2
    Like this

  • @tahahuraibb5833
    @tahahuraibb5833 Месяц назад

    how can I connect to a ssh with nvim like vscode?

  • @theodorealenas3171
    @theodorealenas3171 Месяц назад

    To me, pair programming is fun as long as the brains are

  • @lucasteo5015
    @lucasteo5015 Месяц назад

    New lesson learnt C-^

  • @oscarhagman8247
    @oscarhagman8247 Месяц назад +1

    >Noob
    >Used vim for 10 years

  • @renkinjutsu01
    @renkinjutsu01 Месяц назад

    1:00:01 He's missing a 3rd argument for `desc`, that's why his gd wasn't working

  • @shamsuddinjunaid56
    @shamsuddinjunaid56 Месяц назад

    No way you called Anthony a noob!!

  • @MartialBoniou
    @MartialBoniou Месяц назад

    I've played Doom using hjkl instead of wasd... on a dvorak keyboard: I couldn't use my mouse. It was pure hell but in my heart, I won something. Anyone should study the space-cadet keyboard: the arrow keys were there!

  • @s8x.
    @s8x. Месяц назад

    made a new nvim config with minimal plugins (50). fast and clean