Vim Motions for absolute beginners!!!

Поделиться
HTML-код
  • Опубликовано: 3 фев 2025
  • 🔍 Welcome to our ultimate guide on Vim motions - the secret sauce to turbocharge your text editing skills! 🚀 Whether you're a seasoned Vim user or just starting out, this video is packed with tips and tricks to make you a motion maestro! 💪
    🏃‍♂️💨 Level Up Your Speed: Learn how to navigate through your code at the speed of thought using Vim motions. Say goodbye to tedious scrolling and hello to lightning-fast editing! ⚡️
    🤓💡 In-Depth Exploration: We'll dive deep into the world of h, j, k, l, and unveil their hidden powers. Discover the art of combining motions, making complex edits a breeze. 🎨
    🌐🔄 Global and Relative Movements: Understand the difference between global and relative movements, and wield their power to effortlessly traverse your codebase. 🌎
    🤯🧠 Mind-Blowing Tricks: Uncover mind-blowing tricks that will leave you wondering how you ever lived without them. From text objects to precise jumps, we've got your back! 🚀
    🕹️🎮 Leveling Up Your Game: Elevate your Vim game with advanced motion techniques. Impress your colleagues with your ninja-like editing skills! 🥷
    👨‍💻💬 Interactive Examples: We believe in learning by doing. Follow along with our interactive examples and solidify your understanding of Vim motions. 💻🤔
    🚀💼 Boost Your Productivity: Time is money, and Vim motions are here to save you both! Boost your productivity and become a coding wizard in no time. 🚀💰
    👉 Ready to become a Vim motion ninja? Hit that play button now and let's embark on this exciting journey together! Don't forget to like, subscribe, and ring the bell for more game-changing Vim content! 🔔👍 Happy coding! 🚀👩‍💻👨‍💻
    #neovim #vim #editor #tmux #vscode #linux

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

  • @yash1152
    @yash1152 10 месяцев назад +106

    woww, such a blaster video. thanks a lot.
    3:13 ^ caret to jump to non-empty beginning of line
    == Vertical navigation
    3:37 (): sentence
    3:41 {}: paragraph
    3:45 C-u/d: half screen
    3:50 C-b/f: full screen
    5:01 vi{: visual in braces
    5:09 ya{: yank around braces (inclusive)
    5:52 ciw: change in word
    5:29 w,s,p: motions word, sentence, para
    5:46 dot: repeat a normal mode operator
    6:05 forward slash: forward search
    ohw, got it. so, reverse search is S-/, not ? nice :)
    6:22 #/*: search current word
    6:32 ma: mark-current-position with a
    6:46 ~a: jump-to mark-a
    6:56 ~~: toggle hjjlast cursor position
    7:06 ~.: last edit position
    7:13 UpNext: folds, indent , macros q_ @_

    • @sagaratytube
      @sagaratytube  10 месяцев назад +3

      @yash1152 Thanks a lot 😊. Pinned it. 📌

    • @-Ambrosia
      @-Ambrosia 4 месяца назад +2

      @@sagaratytube I think if you paste it to the description it creates those nice timelines on the video

    • @sagaratytube
      @sagaratytube  4 месяца назад

      @@-Ambrosia Thanks I will paste.

  • @danielnadeau5741
    @danielnadeau5741 Год назад +247

    I think a very important part of learning and teaching Vim is to associate words with the letter key commands…
    y = yank
    o = open
    b = beginning
    e = end
    f = find
    t = to
    Etc…

    • @sleekism
      @sleekism 11 месяцев назад +2

      unfortunately this doesn't extend to letters like h, j, k and l

    • @Alberto_Cavalcante
      @Alberto_Cavalcante 11 месяцев назад +10

      ​@@sleekism yes, although something I sawq in another video that initially helped me memorize was to see 'J' as an arrow pointing down, 'L' as pointing right (and from there remember K and H haha)

    • @sleekism
      @sleekism 11 месяцев назад

      @@Alberto_Cavalcante makes sense

    • @Triavanicus
      @Triavanicus 11 месяцев назад +3

      I have t mapped in my brain as ‘til

    • @jeff-erson
      @jeff-erson 10 месяцев назад +1

      ​@@Alberto_CavalcanteI always think that way, probably because I used to play flash games when I was child.

  • @mostafaei2002
    @mostafaei2002 Год назад +81

    Providing this amount of information in 7 minutes is just amazing. Keep up the good work

    • @sagaratytube
      @sagaratytube  Год назад +2

      Thanks!

    • @fra4897
      @fra4897 Год назад +8

      ai voice and chatgpt man

    • @rigbymama8436
      @rigbymama8436 11 месяцев назад

      @@fra4897 Still pretty useful regardless

    • @chaitanyaswaroop7669
      @chaitanyaswaroop7669 3 месяца назад

      @@fra4897 it doesn;t matter man. It provides value and it's fine

  • @Andrey-rc6wp
    @Andrey-rc6wp 11 месяцев назад +14

    I used to be a progressional 3D designer years back and I remember the point where navigating the menu via mouse because a huge strain on my ability to model in a timely manor. So bit by bit I slowly started to learn new shortcuts and I was just blazing through menus. Super excited to do the same with Vim after using pycharm for years.

    • @Qrzychu92
      @Qrzychu92 6 месяцев назад

      Pycharm has IdeaVim plugin, and the LSP is WAAAAAAY better in Pycharm

  • @younglion0451
    @younglion0451 10 месяцев назад +1

    After watching, just one video, I love this channel more than everything!❤❤❤

  • @alexismandelias
    @alexismandelias 11 месяцев назад +5

    One of the best beginner vim tutorials out there! Super condenced and well-presented information, going from simple to slightly more advanced with a good learning curve.

  • @avinashthakur80
    @avinashthakur80 Год назад +85

    Very informative and focussed. Liked how your thumbnail is not any clickbaity image or reaction face but a cheat sheet on the subject, which we can later reference.
    Hope you keep it up.

    • @sagaratytube
      @sagaratytube  Год назад +6

      Thanks a lot.

    • @mmacgearailt
      @mmacgearailt Год назад

      Could you share a high-res version of the thumbnail so we can use it as a cheat sheet?@@sagaratytube

  • @69k_gold
    @69k_gold Год назад +8

    Good video! Didn't waste time getting into it at all.
    Although for those who wanna learn Vim and FAST, I suggest removing all the text editors in your PC and only use Vim for 60 days. Worked for me

    • @sagaratytube
      @sagaratytube  Год назад +1

      Nice trick 😀. Using vimtutor helped me lot. I think it is most underrated vim resource. Vimtutor is program made inside vim documentation. You can trigger it inside vim using vimtutor command.

  • @PauloVFSC
    @PauloVFSC 11 месяцев назад +2

    this video is worthy to be bookmarked!

  • @sgwong513
    @sgwong513 Год назад +7

    I use vim quite a lot last time but stop using it for sometimes(i think I change os and loss my vim configuration) and also using more vscode. I forgot some vim motion when I want to pick up vim again, but this video let me recall all those vim motion and learn some new stuff. Although this is basic but its important to master it. thanks for such amazing video.

  • @scottfwalter
    @scottfwalter 10 месяцев назад +3

    Great video. I've been a vim user for a while but still learned a couple things

  • @JaronJones
    @JaronJones 3 месяца назад

    Dang. Been using VIM for 20+ years and I learned a few new tricks. Awesome video!!

  • @Codigger-br2rt
    @Codigger-br2rt 10 месяцев назад +4

    vi and vim are editors in Linux, the difference is that vim is more suitable for coding, the function is more powerful than vi.
    1, command mode º(also known as general mode or ordinary mode, open the file default mode):
    2, edit mode (also known as input mode):
    3. Last line mode (bottom line command mode):

  • @iron-man1
    @iron-man1 11 месяцев назад +1

    Vim is a incredible piece of software!

  • @kubectlgetpo
    @kubectlgetpo 10 месяцев назад +4

    I have watched so many nvim videos with millions views but this is the best. So much info wirh no nonsense and densely packed.

  • @adel.dev.account
    @adel.dev.account 3 месяца назад

    I was learning form the :Tutor, My mind is blown away, I took a break, saw your video and now I'm speechless

  • @klirmio21
    @klirmio21 10 месяцев назад +1

    thank you! consice and straight to a point

  • @siya.abc123
    @siya.abc123 11 месяцев назад +3

    Thanks for sharing, that's waaaay too much to learn now 😅

  • @mechswrd
    @mechswrd 10 месяцев назад +1

    This was very informative watch.. Unlike other videos on vim motions, your video was nicely paced and easy to follow..

  • @jake115577
    @jake115577 5 месяцев назад +3

    Smashed the like button! Thank you.

  • @kahnfatman
    @kahnfatman 11 месяцев назад +5

    BLAZINGLY FAST! 💨

  • @icewolfy1
    @icewolfy1 4 месяца назад

    It's good to remember cit and cat as:
    Change in tag
    Change around tag
    Same applies to any character, e.g. ci{ as in change inside of {.
    Helps with memorizing these shortcuts.

  • @DamonMedekMusic
    @DamonMedekMusic Год назад +2

    Very helpful. I know most of these and I forget that I even know them as its mostly muscle feel now. Thats kind of the point of them though. Its always good freshen up though and my tips for beginners to practice them by hiding your mouse for 30 minutes a day and just do your best to figure things out with a reference sheet handy.

  • @technicallittlemaster8793
    @technicallittlemaster8793 Год назад +8

    The only video one should watch for vim.
    Perfect

  • @lorenzopiombini3406
    @lorenzopiombini3406 6 месяцев назад +1

    Vim is amazing ❤

  • @d7g.x
    @d7g.x 5 месяцев назад +1

    good video really like the way you sample everything

  • @sanjayghosh3189
    @sanjayghosh3189 5 месяцев назад +1

    Amazing video. Thanks sir.

  • @nikolaykarpuzov5320
    @nikolaykarpuzov5320 11 месяцев назад

    I rarely write comments, but this video deserves it!

  • @007kowalski
    @007kowalski 9 месяцев назад +1

    it would be great if you added these videos to their specific playlist, so that we follow along.

  • @yuchihchiu2263
    @yuchihchiu2263 2 дня назад

    Nice content !!

  • @garryalfonso1609
    @garryalfonso1609 11 месяцев назад +3

    More vim tutorials please.

  • @kinggrey2511
    @kinggrey2511 11 месяцев назад

    Really thr best crash course for everything also you missed di" to delete things inside " my favourite one btw . Please do a part and i love you you thought me somethings ehich i dont know existed

  • @mohammadjarju6334
    @mohammadjarju6334 Год назад +1

    Finally a video i was looking for 😅

  • @kairu_b
    @kairu_b 3 месяца назад

    Great work

  • @LeonhardWW
    @LeonhardWW Год назад +1

    Really enjoyed it because it was like a list of things i can learn. Hope this and the next videos blow up ❤.

    • @sagaratytube
      @sagaratytube  Год назад

      I'm glad to hear that you enjoyed it! 😀

  • @androidgeeking
    @androidgeeking 7 месяцев назад +5

    How do you exit?

  • @colin0516
    @colin0516 Год назад +12

    wow i have habit of just immediately closing whatever media i am playing whenever i hear a TTS. You, my friend, have assisted me in making myself aware of this habit XD
    the flow of this video makes it really lucid to following along to. Thanks man i am not even a year deep into unix experience and this is really useful for me!

  • @syedrizwan2203
    @syedrizwan2203 10 месяцев назад +1

    Literally Full condensed too much to learn in 7 mins but love the quality and quantity of learning in least time.

  • @_Holy_Lance_
    @_Holy_Lance_ 7 месяцев назад

    Great video, thank you!

  • @chezchezchezchez
    @chezchezchezchez 8 месяцев назад

    OMG * key to find word under cursor??
    MIND BLOWN!

  • @edwinboon9574
    @edwinboon9574 11 месяцев назад

    Awesome video and so many things to memorize only for these motions haha. But I installed the vscode plugin and just gong to start using it

  • @razzat3616
    @razzat3616 9 месяцев назад +2

    Can you provide me a link to the image used in your thumbnail?
    Great video too. Thanks

  • @bagadeshkumarr9502
    @bagadeshkumarr9502 9 месяцев назад +2

    Great work. Kindly do work on a advanced Vim Video if possible.

  • @BraisonsCrece
    @BraisonsCrece Год назад +1

    Thank you, very cool video! I'm trying to learn vim, and especially get used to use it.
    I'll subscribe and take a look also at the other videos in your channel 👌🌝
    A hug from Spain

  • @xorlop
    @xorlop Год назад

    best tips for last hehe. I will have to implement double backtick and backtick period into my workflow :)

  • @learnnow6739
    @learnnow6739 5 месяцев назад +1

    thank you

  • @ardnys35
    @ardnys35 Год назад +1

    phew i know almost all these and use it daily. i should use I and A more often and I didn't know the s insert mode. Overall nice overview. I'd personally add going to a function definition and back as that's a really nice feature that people want to use. it's LSP feature rather than vim but still, i'd assume many people would use an LSP

    • @sagaratytube
      @sagaratytube  Год назад

      True, vscode by default has most LSP servers. I kept advanced features back for the next video. @ardnys35

  • @ToveriJuri
    @ToveriJuri 2 месяца назад +1

    Terminal mode. Ex Mode. Operator pending mode, Visual block mode, Visual line mode, you want modes? We have them all.

  • @kakun7238
    @kakun7238 11 месяцев назад

    damn so happy that i found you

  • @howhello354
    @howhello354 2 месяца назад

    Thanks

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

    Thanks.

  • @RookieAlert
    @RookieAlert 8 месяцев назад

    Pretty good video. However the highlighted keyboard is a little bit confusing as all characters shown are uppercase, especially since vim motions are case-sensitive.

  • @systemforge
    @systemforge Год назад +1

    Demn! Pretty nice 💯

  • @philippehenin
    @philippehenin Год назад +1

    Excellent !!!

  • @johnabend7042
    @johnabend7042 2 месяца назад

    Where do you say how to go about changing between modes?

  • @haochima
    @haochima 4 месяца назад +1

    Thid is good but it glossed over the most useful part of the video, doing things like ciw and yap - it would have been so much better if you spent the time these motions deserve. They got the same amount of screen time as using uuuuuu, which is far easier to understand

  • @isurumaldeniya9536
    @isurumaldeniya9536 Год назад +1

    Likked and Subscribes. Thanks nice video

  • @ActualJosiahPreston
    @ActualJosiahPreston Год назад

    Thanks. I only knew 85 percent of these. Once you Vim you can't stop. I use Spacemacs, btw.

  • @maurolimaok
    @maurolimaok Год назад +4

    I'm on my first steps on Odin Project, and this tutorials of yours will help a lot.
    Thank you so much.
    Hope for more.

    • @sagaratytube
      @sagaratytube  Год назад +1

      Glad to hear that

    • @getoutoftheway419
      @getoutoftheway419 Год назад

      Hey did you complete the foundations

    • @maurolimaok
      @maurolimaok Год назад

      @@getoutoftheway419 On the go, and enjoying it. I finally do understand things I always wish to.

    • @paultapping9510
      @paultapping9510 Год назад +1

      I love that step 1 of the Odin Project is
      1) Install linux 😂

  • @nomadshiba
    @nomadshiba 8 месяцев назад +5

    idk what was i expecting

  • @yassine-sa
    @yassine-sa Год назад +1

    I feel like I need to give a lot of time just to learn vim, like I'm learning a new programming language literally

    • @sagaratytube
      @sagaratytube  Год назад

      Use a vimtutor, it will give you a really good start 👍

    • @gabbeeto
      @gabbeeto Год назад

      that's because you're learning all at once. the first day focus on using hjkl for moving and I to get into insert mode and v for visual mode and delete something once you select something with d, and slowly learn new keys for different things

  • @Greenbay-bn3yk
    @Greenbay-bn3yk 2 месяца назад

    Hey bro, what's that font?

  • @kairu_b
    @kairu_b 3 месяца назад

    Nice

  • @parkerrex
    @parkerrex 8 месяцев назад

    What plugin is that for your keyboard?

  • @w24lp05
    @w24lp05 3 месяца назад

    Why are you showing all of this in vscode instad? I just don't get it.

  • @spamcolector
    @spamcolector Год назад

    The quality of info saved you from dislike for AI voice

  • @AbhishekV-m8i
    @AbhishekV-m8i Месяц назад

    0:39 "Blazingly Fast" *writes down whole neovim codebase in rust 🦀

  • @TheGRoques
    @TheGRoques 10 месяцев назад

    What's the theme?

  • @fagner-sa
    @fagner-sa 6 месяцев назад

    I love VIM mindset BUT I really dont understrand why someone use it as a primary editor.

  • @AnindoSarker
    @AnindoSarker 9 месяцев назад +1

    This is too much information in a 7 min video. Thank you

  • @DavidGreen-h2i
    @DavidGreen-h2i 4 месяца назад

    Halvorson Lodge

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

    I pressed some keyboard shortcut and I was thrown out of this video.

  • @LittleJhey
    @LittleJhey Год назад

    how did you managed to use the vim keyset in vscode?
    EDIT: ok I just saw the video without jumping the introduction, you literally show the thing lol

  • @SoftBreadSoft
    @SoftBreadSoft 6 месяцев назад

    The zewow key

  • @rich_in_paradise
    @rich_in_paradise Год назад +175

    Is this AI text to speech?

    • @DeGandalf
      @DeGandalf 11 месяцев назад +47

      Pretty sure it is. But it's quite impressive that we're at a point where you can't tell at first

    • @bobfunk5055
      @bobfunk5055 11 месяцев назад +21

      100%

    • @maninalift
      @maninalift 11 месяцев назад +15

      Absolutely it is.

    • @Danielddiniz
      @Danielddiniz 11 месяцев назад +9

      For sure it is.

    • @MAX-nv6yj
      @MAX-nv6yj 11 месяцев назад +3

      Yes

  • @that_guy1211
    @that_guy1211 6 месяцев назад

    you know what else can be used instead of W, B, and E keys? Using SHIFT + ARROW KEYS FOR FUCK'S SAKE!

  • @bluecup25
    @bluecup25 9 месяцев назад

    There's no way I'm learning all this shit, man

  • @electrolyteorb
    @electrolyteorb Год назад +1

    Im sure this video will blow up

    • @electrolyteorb
      @electrolyteorb Год назад +1

      Btw, here's a suggestion...
      Please edit the keyboard keys in post production... The realtime one is really frictional

    • @sagaratytube
      @sagaratytube  Год назад

      Thanks a lot!!!

    • @sagaratytube
      @sagaratytube  Год назад

      Yes, you are correct. Will try the same in next.

  • @lpi3
    @lpi3 10 месяцев назад +1

    One word: dvorak

  • @MaxNyst
    @MaxNyst Год назад

    Why isn’t the letter T purple in the thumbnail!? It’s making me go crazy

    • @sagaratytube
      @sagaratytube  Год назад

      Missed that 😕

    • @MaxNyst
      @MaxNyst Год назад +1

      @@sagaratytube I was only bothered because the picture otherwise was so correct! Well done 👍

  • @yungifez
    @yungifez Год назад

    Blazingly fast😂😂😂

  • @MrAppleruler747
    @MrAppleruler747 Год назад +1

    GPT much?

  • @robosergTV
    @robosergTV 9 месяцев назад +14

    functionality is cool, the hotkeys are pure garbage

  • @GregoryMonk-o5b
    @GregoryMonk-o5b 4 месяца назад

    Schulist Lodge

  • @icydingo292
    @icydingo292 Год назад

    with that pfp at first I thought this video was made by telegram haha

  • @nestorguemez4846
    @nestorguemez4846 5 месяцев назад

    A lot of keys to learn, seems not simple ☠️

  • @codedusting
    @codedusting Год назад

    Learn Vim Motions I think

  • @keanukenn
    @keanukenn 8 месяцев назад +1

    why vim so hard

    • @alikorloo8425
      @alikorloo8425 7 месяцев назад +1

      it's not hard, it has a steep learning curve! ;)

  • @bullpup1337
    @bullpup1337 Год назад

    command mode != command line mode

  • @abhishekpatil4497
    @abhishekpatil4497 11 месяцев назад

    Good video but you need to change that channel logo man !

    • @sagaratytube
      @sagaratytube  11 месяцев назад

      @abhishekpatil4497 is it better?

    • @abhishekpatil4497
      @abhishekpatil4497 11 месяцев назад +1

      @@sagaratytube Yes sirr !! it really feels like a original channel with original content 😍🤩 .

  • @jabal_team
    @jabal_team 11 месяцев назад

    but whyyy ?!

    • @АлексейСтах-з3н
      @АлексейСтах-з3н 11 месяцев назад

      It's the same mental jump as from right mouse click -> copy to ctrl-c. There's probably no debate which one is better, just have to get used to it and you're not coming back

  • @mr.makaveli9864
    @mr.makaveli9864 Год назад

    Best

  • @dardar7903
    @dardar7903 11 месяцев назад +1

    the holy bible

  • @trawazikei9970
    @trawazikei9970 2 месяца назад

    Chat gpt ahh video

  • @gro967
    @gro967 5 месяцев назад +3

    Can't stand AI voices, sorry...

    • @ProfShibe
      @ProfShibe 4 месяца назад

      yeah that's what sucks about this channel.
      Really nice channel and really nice info, just the voice is horrible. There's human sound AI voices now too, he could use one of those at least.

  • @savagehalt1555
    @savagehalt1555 11 месяцев назад +1

    Amazing tutorial but so much useless shit in vim lmao I love it

  • @421sap
    @421sap 11 месяцев назад

    In Jesus' Name Amen ✝️

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

    Vim is a joke! It might work better on a phone or tablet.

  • @vulbyte
    @vulbyte 5 месяцев назад

    imagine using ai for a video like this

  • @Christian-tj2jo
    @Christian-tj2jo Год назад +1

    is this AI generated?

    • @Quephara
      @Quephara Год назад +4

      Yes, yes it is. There's too much on RUclips. Usually I just dislike and leave, no matter what the content is, because I need to ensure the algorithm doesn't think I'm at all interested