30 Beginner Vim Commands in 7 Minutes

แชร์
ฝัง

ความคิดเห็น • 66

  • @klutzrrrlol
    @klutzrrrlol 2 หลายเดือนก่อน +30

    i needed this, first time i opened vim i had a brain aneurysm

  • @bmx666bmx666
    @bmx666bmx666 2 หลายเดือนก่อน +15

    7 stages of VIM - shock, denial, anger, bargaining, depression, testing, and acceptance 😂

    • @shadesoftime
      @shadesoftime 2 หลายเดือนก่อน

      You go through all of them while trying to figure out how to quit for the first time

  • @blackhaze3856
    @blackhaze3856 2 หลายเดือนก่อน +11

    Vim has something that once you test it you can not stop using it.

  • @matan-h
    @matan-h 2 หลายเดือนก่อน +8

    I alredy knew most commands but I forgot the "inside" option, which is very helpful

  • @garri_gueta
    @garri_gueta 2 หลายเดือนก่อน +6

    I was completly wrong thinking " I need to add a lot of plugins in to my Vim". You confirmed it, with simply vanilla Vim and the 7 minutes of this video I'm a better Vim user with only a few commands, thanks a lot

    • @madghostek3026
      @madghostek3026 2 หลายเดือนก่อน +4

      This is what made me learn more vim, it's installed on literally any linux system so you can be at home without any configuration, really pays off.

    • @anon_y_mousse
      @anon_y_mousse 2 หลายเดือนก่อน

      @@madghostek3026 The next step is compiling your own with some tweaked options. I enable mouse functionality, the system clipboard and a few embedded languages. It is immensely useful to be able to scroll with a mouse when you don't quite know what you're looking for, and being able to click to focus once you've found it is great too. The number of times I've needed to paste a URL into a document has me wondering why every distro I've used doesn't enable the system clipboard for Vim.

  • @FaintArt
    @FaintArt 2 หลายเดือนก่อน +5

    please do a continuation of this as a series.. please

  • @davvedp9309
    @davvedp9309 2 หลายเดือนก่อน +5

    Fantastic channel covering really interesting topics! The videos are concise, to the point and easy to follow. You show off good practises too (like reading the man pages and emphasising that this isn’t production code) Perfect channel for someone looking to get into low level stuff! So excited that it’s growing and that I discovered it! Keep it up man 👍

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน +1

      Thanks! :)

  • @renamorcen
    @renamorcen 6 วันที่ผ่านมา

    Dude these are so goated I've been using vim for like 4 years by now and half the stuff you outlined here I did like a caveman by hand. These are so great because I didn't even know vim could do this, so I assumed. dggL

  • @sukab
    @sukab หลายเดือนก่อน

    superb video, many thanks!

  • @Ccicada
    @Ccicada 2 หลายเดือนก่อน +2

    This goooooooddd🎉🎉🎉 Make a part 2

  • @madghostek3026
    @madghostek3026 2 หลายเดือนก่อน +7

    I forgot this is mainly a windows channel, when you typed :q I got scared by the windows desktop

    • @mo.G_2020
      @mo.G_2020 หลายเดือนก่อน

      windows is so unpleasant by this point

  • @marouaniAymen
    @marouaniAymen 2 หลายเดือนก่อน +9

    Using Vim everyday will reduce the chances of having Parkinson Disease or Schizophrenia at old age.

  • @sweetygremlin5960
    @sweetygremlin5960 2 หลายเดือนก่อน +2

    you are amazing

  • @Yougottacryforthis
    @Yougottacryforthis 2 หลายเดือนก่อน

    I feel like unless I'm tourtured I'll never be in a position where i want to forego a modern ide for vim. But the skill-cap sure looks higher on vim ill give ytou that

  • @ZecaSamicas
    @ZecaSamicas 2 หลายเดือนก่อน +2

    Even though Vim / Neovim are great, I'll just stick up with Emacs Org-Mode, as if I do change, I'll probably forget all the keybinds lmao

    • @blahza12345
      @blahza12345 2 หลายเดือนก่อน

      You can use evil-mode on emacs, which adds vim-like cursor movement, modes and keys

  • @zeldaboch
    @zeldaboch 2 หลายเดือนก่อน

    this is magic!

  • @aidannnt
    @aidannnt 2 หลายเดือนก่อน

    please make a video on vim shortcuts for people who are already familiar with vim 😊

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน +4

      I have many of those on my "Vim Tips" playlist, and some are also planned in the future :)

    • @aidannnt
      @aidannnt 2 หลายเดือนก่อน

      @@nirlichtman oh my bad. Thank you! 🙏

  • @mohad12211
    @mohad12211 2 หลายเดือนก่อน +3

    Although you use Window, your setup is weirdly shaped around tools that are famous for Linux users, have you ever encountered a problem where the cause was that the tool being mainly made for *nix instead of Windows?

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน +3

      Not something major, I can recall two main things that I remember, first is a Windows specific bug on Vim that I discovered when looking at the issues on Github in which it traversed the directory tree in a very inefficient way so it sometimes took way too long to expand recursive file paths, and this was fun since in the end I decided to submit a pull request to fix this code in Vim, and the code in that area indeed looked like it wasn't touched in quite a while.
      Second thing that I have encountered was a missing feature in kdenlive (which I use to edit videos), in which the screen recording cannot record sound, but in the end this is not a problem for me, since I started using OBS Studio to record my screen.

    • @asconblake
      @asconblake 2 หลายเดือนก่อน

      nice question!

  • @421sap
    @421sap 2 หลายเดือนก่อน +1

    God bless you in Jesus' Name Amen ✝️. Thank you.

  • @shahriarrafsun7078
    @shahriarrafsun7078 2 หลายเดือนก่อน

    How can i test test cases for competitive programming

  • @ChandrashekarCN
    @ChandrashekarCN 2 หลายเดือนก่อน

    💖💖💖💖

  • @BMW_M-Performance
    @BMW_M-Performance 2 หลายเดือนก่อน

    I love VIM - I use windows 10 btw

  • @PeterZaitcev
    @PeterZaitcev 2 หลายเดือนก่อน

    Two facts you should know about vim:
    1. Use :q! (exclamation mark required) to quit
    2. You should avoid using vim
    Have a nice day! - Nano.

  • @justinnamilee
    @justinnamilee 2 หลายเดือนก่อน

    Typically I wait til the end to comment "Nifty" or some such, but these boiz NEED to get VIM into their blood if they want to survive.

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน

      Vim was indeed a step up for me, once I decided to seriously learn it

  • @jakester1390
    @jakester1390 2 หลายเดือนก่อน

    Talk more about lsp and how to configure include paths for clangd. I know about compile_flags.txt but is there an easier way without using cmake to generate a complie_commands.json?

  • @mzakyr342
    @mzakyr342 2 หลายเดือนก่อน

    thx

  • @vaidehikumar655
    @vaidehikumar655 2 หลายเดือนก่อน

    My favourite one is ciw

  • @hana-gabana7598
    @hana-gabana7598 2 หลายเดือนก่อน +3

    I see vim, but where is Linux ?

    • @ru2979
      @ru2979 หลายเดือนก่อน

      In heaven

  • @GrandNecro
    @GrandNecro 2 หลายเดือนก่อน

    how to navigate and work with multiple files in Vim?

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน

      I have a video on that on my playlist "Vim Tips", I mostly like using tags, I find them to be a very nice and minimalist way to navigate source code :)

  • @FurryCuddler
    @FurryCuddler 2 หลายเดือนก่อน +1

    :3
    (go to line 3)

  • @Landee
    @Landee 2 หลายเดือนก่อน +1

    i hate vim so much, hopefully ill love it one day

  • @Mau5trakt
    @Mau5trakt 2 หลายเดือนก่อน

    How i can install vim in windows as you have?

    • @nirlichtman
      @nirlichtman  2 หลายเดือนก่อน

      You can use the Windows built in package manager: winget install vim

  • @duyanho7974
    @duyanho7974 16 วันที่ผ่านมา

    Can you make a tutorial about how to install vim on Windows?

    • @nirlichtman
      @nirlichtman  16 วันที่ผ่านมา +1

      You can get it with the built in package manager: "winget install vim"

    • @duyanho7974
      @duyanho7974 15 วันที่ผ่านมา

      @@nirlichtman Oh, I can install it, but I mean how to configure and have a plugin manager on windows, I want to add langue server to my Vim. I have watched your video about it but it seems you did it on Linux.

    • @nirlichtman
      @nirlichtman  15 วันที่ผ่านมา

      @@duyanho7974 you can do the same steps on windows, it works :)

    • @duyanho7974
      @duyanho7974 15 วันที่ผ่านมา

      @@nirlichtman Another problem is that when I use VSCode, there is a file explorer tab that I can move, change, delete files, how to do the same thing in Vim?

    • @nirlichtman
      @nirlichtman  15 วันที่ผ่านมา

      ​@@duyanho7974 After you select your working directory with :cd , you can use :Ex to open the built in file explorer plugin called netrw

  • @user-fp8zc3mx3e
    @user-fp8zc3mx3e หลายเดือนก่อน

    1:51
    :3

  • @jackkendall6420
    @jackkendall6420 2 หลายเดือนก่อน +1

    :3 :3 1:55

  • @kajelvobot2634
    @kajelvobot2634 2 หลายเดือนก่อน

    WTF. You call basic functions a trick? Do you also consider pushing a button on your microwave and magically seeing it heat your food a trick?

  • @GooogleGoglee
    @GooogleGoglee 2 หลายเดือนก่อน +4

    Please use Linux.

    • @bhavyakukkar
      @bhavyakukkar 2 หลายเดือนก่อน +1

      why

    • @GooogleGoglee
      @GooogleGoglee 2 หลายเดือนก่อน

      @@bhavyakukkar why not.

    • @bhavyakukkar
      @bhavyakukkar 2 หลายเดือนก่อน

      @@GooogleGoglee why not not

    • @GooogleGoglee
      @GooogleGoglee 2 หลายเดือนก่อน

      @@bhavyakukkar I understand, but why: why not not

    • @bhavyakukkar
      @bhavyakukkar 2 หลายเดือนก่อน

      @@GooogleGoglee linux is portable enough that you never need it on bare metal, and he does often use docker and maybe wsl