30 Beginner Vim Commands in 7 Minutes

Поділитися
Вставка

КОМЕНТАРІ • 65

  • @klutzrrrlol
    @klutzrrrlol 2 місяці тому +29

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

  • @bmx666bmx666
    @bmx666bmx666 2 місяці тому +14

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

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

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

  • @blackhaze3856
    @blackhaze3856 2 місяці тому +10

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

  • @garri_gueta
    @garri_gueta 2 місяці тому +5

    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.

  • @matan-h
    @matan-h 2 місяці тому +6

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

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

  • @FaintArt
    @FaintArt 2 місяці тому +5

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

  • @marouaniAymen
    @marouaniAymen 2 місяці тому +8

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

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

  • @sukab
    @sukab 29 днів тому

    superb video, many thanks!

  • @Ccicada
    @Ccicada 2 місяці тому +2

    This goooooooddd🎉🎉🎉 Make a part 2

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

    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.

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

  • @421sap
    @421sap 2 місяці тому +1

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

  • @BMW_M-Performance
    @BMW_M-Performance 2 місяці тому

    I love VIM - I use windows 10 btw

  • @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! 🙏

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

    How can i test test cases for competitive programming

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

  • @ChandrashekarCN
    @ChandrashekarCN 2 місяці тому

    💖💖💖💖

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

  • @vaidehikumar655
    @vaidehikumar655 2 місяці тому

    My favourite one is ciw

  • @mzakyr342
    @mzakyr342 2 місяці тому

    thx

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

  • @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 Місяць тому +1

    :3
    (go to line 3)

  • @Landee
    @Landee 2 місяці тому +1

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

  • @hana-gabana7598
    @hana-gabana7598 2 місяці тому +3

    I see vim, but where is Linux ?

    • @ru2979
      @ru2979 21 день тому

      In heaven

  • @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 4 дні тому

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

    • @nirlichtman
      @nirlichtman  4 дні тому +1

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

    • @duyanho7974
      @duyanho7974 3 дні тому

      @@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  3 дні тому

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

    • @duyanho7974
      @duyanho7974 3 дні тому

      @@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  3 дні тому

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

  • @jackkendall6420
    @jackkendall6420 2 місяці тому +1

    :3 :3 1:55

  • @user-fp8zc3mx3e
    @user-fp8zc3mx3e Місяць тому

    1:51
    :3

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