30 Beginner Vim Commands in 7 Minutes

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

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

  • @bmx666bmx666
    @bmx666bmx666 5 месяцев назад +21

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

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

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

  • @blackhaze3856
    @blackhaze3856 6 месяцев назад +16

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

  • @garri_gueta
    @garri_gueta 5 месяцев назад +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 5 месяцев назад +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 5 месяцев назад

      @@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 6 месяцев назад +8

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

  • @klutzrrrlol
    @klutzrrrlol 6 месяцев назад +32

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

  • @davvedp9309
    @davvedp9309 6 месяцев назад +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 👍

  • @renamorcen
    @renamorcen 3 месяца назад +1

    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

  • @FaintArt
    @FaintArt 6 месяцев назад +5

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

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

    This video should be at the top of the list when you search for vim editor. It's infinitely better than the other videos with how you go through the explanations, your speed of communication, and examples provided

  • @hana-gabana7598
    @hana-gabana7598 5 месяцев назад +5

    I see vim, but where is Linux ?

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

      In heaven

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

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

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

    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 4 месяца назад

      windows is so unpleasant by this point

  • @Ccicada
    @Ccicada 6 месяцев назад +2

    This goooooooddd🎉🎉🎉 Make a part 2

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

    superb video, many thanks!

  • @ZecaSamicas
    @ZecaSamicas 6 месяцев назад +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 5 месяцев назад

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

  • @sweetygremlin5960
    @sweetygremlin5960 6 месяцев назад +2

    you are amazing

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

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

    • @nirlichtman
      @nirlichtman  6 месяцев назад +4

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

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

      @@nirlichtman oh my bad. Thank you! 🙏

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

    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

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

    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  6 месяцев назад

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

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

    💖💖💖💖

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

    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?

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

    How can i test test cases for competitive programming

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

    :3
    (go to line 3)

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

    My favourite one is ciw

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

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

    • @nirlichtman
      @nirlichtman  3 месяца назад +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

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

    How i can install vim in windows as you have?

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

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

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

    thx

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

    this is magic!

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

    how to navigate and work with multiple files in Vim?

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

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

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

    :3 :3 1:55

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

    1:51
    :3

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

    No vim user should be on windows. Just joking, calm down.

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

    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.

  • @GooogleGoglee
    @GooogleGoglee 6 месяцев назад +5

    Please use Linux.

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

      why

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

      @@bhavyakukkar why not.

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

      @@GooogleGoglee why not not

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

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

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

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

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

    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?

  • @marouaniAymen
    @marouaniAymen 6 месяцев назад +10

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

  • @mohad12211
    @mohad12211 6 месяцев назад +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  6 месяцев назад +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 6 месяцев назад

      nice question!

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

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

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

    I love VIM - I use windows 10 btw