Vim Basics in 8 Minutes

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

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

  • @tutoriaLinux
    @tutoriaLinux  6 лет назад +265

    0:00 - Introduction
    0:53 - edit a file in vim (vim filename.txt || vi filename.txt)
    1:12 - how to quit vim (:q)
    1:50 - saving files in vim, and other ways of exiting
    2:12 - what are vim modes (ESC/i)
    3:14 - how to delete a single line with vim (dd)
    3:30 - how to delete multiple lines with vim (#dd, e.g. 5dd)
    3:47 - how to undo changes in vim (u)
    4:06 - how to 'redo' changes (ctrl-r)
    4:32 - searching text in vim ( /yourtext + ENTER)
    5:52 - how to find and replace text in vim ( :%s/yourtext/replacetext/g (+c))
    7:23 - Conclusion

    • @averagejeffs
      @averagejeffs 6 лет назад +2

      tutoriaLinux where is the nano video?

    • @waellerbe
      @waellerbe 5 лет назад

      Thank you for an excellent introduction to Vim. This text editor is amazing in many ways.

    • @yousif2
      @yousif2 5 лет назад +2

      @@averagejeffs Nano's the best =D

    • @mryup6100
      @mryup6100 5 лет назад

      Emacs

    • @korrupted80
      @korrupted80 4 года назад

      I loved that joke of a noob and terminal. LMAO! 😂😆

  • @kaustavsarkar8732
    @kaustavsarkar8732 4 года назад +399

    That joke about putting a noob in vim editor is seriously underrated. I remember my first time trying to exit it xD

    • @shazib25
      @shazib25 4 года назад +8

      I'm going thru it right now!! facepalm!

    • @rialseebran2072
      @rialseebran2072 4 года назад +1

      @@shazib25 me too 😢

    • @VidarrKerr
      @VidarrKerr 4 года назад +5

      That is why I am watching this tutorial! Haha LOL.

    • @ragnarok7976
      @ragnarok7976 4 года назад +5

      If everyone does it to the point of it being a meme it's not a noob foible, it's unintuitive design choices.

    • @tafferinthedark
      @tafferinthedark 3 года назад +9

      @@ragnarok7976 I hear people ramble all the time about how awesome vim is, and I still don't understand why. "Unintuitive" is putting it mildly.

  • @NigelAtkinson256
    @NigelAtkinson256 4 года назад +67

    As a full-time vim user of many years - I think this is a great intro. Enough to be useful, and possibly intrigue people to learn more. :-)

    • @entelin
      @entelin 2 года назад +3

      Actually I think this is overtly the wrong way to teach vi. It's almost always taught like this and it's the reason why so many people are confused about and hate vi. The tutorial *does* give you the basics you need to get in, edit text, and exit. However... if you see vi as a long list of random commands it will fundamentally be frustrating, make no sense, and be hard to remember let alone advance your skills. Rather, by putting an emphasis on the easy to remember fundamental movement primitives and how they can be chained together to form the "vi language" is critical to understanding why vi is so elegant, rather than leaving people wondering why an editor would be modal in the first place. If a beginner tutorial doesn't demonstrate how you can combine primatives into something like ciw (change inner word) or ci" (change inner quotes) and then repeat it on a totally different word with period... then honestly many people just won't get it, and continue to see vim as some kind of relic of the distant past rather than the elegant tool that it is.

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

      ​@@entelinare there any resources like this you would recommend?

    • @calebfox1584
      @calebfox1584 27 дней назад +1

      ​@@ironicCryptidI know I'm late, but I highly recommend ThePrimeagen's video tutorials

  • @VinayKumar-vu3en
    @VinayKumar-vu3en 4 года назад +51

    Shortest 8 mins of my life, you just hooked me man!! You're great teacher.

    • @mathieuL2204
      @mathieuL2204 4 года назад +5

      it really didn't feel like that many minutes, for sure!

  • @Yasharvl
    @Yasharvl 5 лет назад +124

    I've learned a lot just by reading the comments! That's power of the community! :D

  • @BitterMonday
    @BitterMonday 4 года назад +34

    This is actually the only video i've watched about vim that actually make me interested in learning vim. Thank you.

    • @not_herobrine3752
      @not_herobrine3752 3 года назад

      a lot of the tutorials are at least 25 minutes long, kinda imtimidating

    • @3niknicholson
      @3niknicholson 3 года назад

      exactly, me too

    • @AndiKod
      @AndiKod 2 года назад +1

      Many Vim tutorials are just guys flexing their Vim skills while pretending to help.
      Thank you for that finally real Vim Basics video. Keep up.

  • @kbgagt
    @kbgagt 6 лет назад +640

    Surprised you didn't mention
    yy to copy a line
    p to paste
    I work with vim every single day, and I use these 1000 times a day.

    • @tutoriaLinux
      @tutoriaLinux  6 лет назад +70

      Thanks, I *really* wanted to get those in there but was already over my original goal of 5 minutes. I figured copy/paste can still be done with the normal readline shortcuts that people are used to from working in the shell, but the vim commands you mention are better. Cheers!

    • @anonymoususer9837
      @anonymoususer9837 5 лет назад +7

      Neat! Also nice is d commands like dd copy what they deleted, so you can use 3dd, move, and p to move 3 lines!

    • @goku445
      @goku445 4 года назад +5

      lower case p to paste after, capital P (shift+p) to paste before. ;)

    • @solome6478
      @solome6478 3 года назад +1

      or . to call the last command

  • @StruC
    @StruC 6 лет назад +353

    What you call "command mode" is "normal mode". Command mode is entered by pressing colon in normal mode

    • @tutoriaLinux
      @tutoriaLinux  6 лет назад +133

      D'OH -- I *knew* I would get something simple like this wrong. That's what I get for being an emacs user :-D. Thanks so much for pointing this out. Cheers!

    • @juandonosa374
      @juandonosa374 5 лет назад +174

      @@tutoriaLinux :%s/command mode/normal mode/g

    • @dhruvkandpal9909
      @dhruvkandpal9909 4 года назад +28

      @@juandonosa374 Dude , I'm so happy I get this joke. Thanks for boosting my morale.

    • @death_parade
      @death_parade 4 года назад +4

      _pressing colon in normal mode_
      Launches unguided floaters.
      _pressing colon in command mode_
      Launches guided floaters.
      I need to stop watching these videos that make no sense to me and then making $hitty puns..

    • @edwardmacnab354
      @edwardmacnab354 2 года назад

      @@juandonosa374 I don't think that works right ?

  • @alfarocaleb1997
    @alfarocaleb1997 4 года назад +5

    you goota be one of the most professional youtube teachers I-ve ever seen. even the videos timeline has the codes to assist. this is gold man, definately spreading the word!

  • @Liam-bp2rm
    @Liam-bp2rm 5 лет назад +17

    That was the perfect amount of knowledge for a novice like me to get started. You sir, know what you're doing. Thank you.

  • @gabrielp8660
    @gabrielp8660 5 лет назад +213

    its my first time diving into arch. i feel like i am manipulating individual atoms. thanks

    • @johnc3403
      @johnc3403 5 лет назад +10

      well done, I'm about 4 months into my arch journey too and so far so good. In fact better than that, Arch is awesome.

    • @johnnyblack4261
      @johnnyblack4261 4 года назад +3

      Lol

    • @shachi-kun2275
      @shachi-kun2275 3 года назад +1

      Gentoo baby

    • @brendon205
      @brendon205 2 года назад

      You can use nano in arch, it's easier

  • @allanpimble7198
    @allanpimble7198 5 лет назад +4

    Great! Vim was recommended to me yesterday by the lead developer where I work. (I am not currently employed as a developer, I just befriended this gentleman.) I currently alternate between two of the most popular text editors in my studies, and I will be beginning my studies in a coding boot camp 2 days from now. I am convinced that this will be a valuable tool in my developer's tool box, and your simple

  • @MarkBTomlinson
    @MarkBTomlinson 3 года назад +6

    I first used vi in the early 90's it is one of those tools you either use all the time or you forget all the shortcuts, so thanks for the refresher.
    One thing you missed is: set nonumber.
    Always handy to know how to unset something you showed how to set.
    All the best!

  • @1rk1n
    @1rk1n 6 лет назад +43

    Insanely useful. I'm in over my head, but now I have an ear above water

  • @dasten123
    @dasten123 4 года назад +25

    Small correction: The g-flag on your search-and-replace command stands for "global"
    "greedy" means something different in regex terms

    • @nicohuidem
      @nicohuidem 3 года назад

      i had the same thought

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

    My friend told me he'll pay me if I manage to learn Vim.
    I've never earned so much for watching a 9-minute video. Thanks :D

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

      Getting paid to learn vim is the best thing I have ever heard of. You're truly living your best life.

  • @ivanko021
    @ivanko021 3 года назад +6

    you've done a great tutorial! Clear, concise explanation but you've also struck the balance between being useful and getting overwhelming. Keep up the good work!

  • @fm0x1
    @fm0x1 3 года назад +2

    El mejor tutorial que he visto sobre Vim (Vi) en RUclips. Increíble. Gracias.

  • @AnotherJohnnyJones
    @AnotherJohnnyJones 5 лет назад +1

    I've been using Vim as my main editor in Linux environments for about 6 months now. Just learned dd and %s/find/replace/g(c). Thanks man!

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

    Just what I'm looking for. Looks like the only video on RUclips on the topic. Kudos

  • @kendarr
    @kendarr 2 года назад +1

    I've seen this video a couple of months ago and ended up falling back to nano, but I'm once again trying to use this as my main terminal editor, and I gotta say I really enjoy it, thank you for making such a consive video, that's what makes the linux community go forward.

  • @SebSenseGreen
    @SebSenseGreen 6 лет назад +68

    "Just keep hitting you"
    Yeah, each time I need to use Vim, I keep hitting myself...

  • @MuhNeh
    @MuhNeh 3 года назад +1

    Omg thank you so much just started my Operating systems course and had no idea what vim was this was an amazing introduction really appreciate the simplicity of it!

  • @arnobchowdhury9641
    @arnobchowdhury9641 5 лет назад +1

    Thanks for getting me started in 8 minutes. Actually 30 minutes. Had to re-watch many parts of it. Thanks a lot.

    • @tutoriaLinux
      @tutoriaLinux  5 лет назад

      Glad that you got something out of it! And it's a miracle that I cut this video down to 8 minutes. Most of my videos promise 8 minutes and end up actually being 30, because I get extremely excited about whatever I'm talking about and lose track of time :-D.

    • @arnobchowdhury9641
      @arnobchowdhury9641 5 лет назад

      @@tutoriaLinux Glad that you cut it down to 8 minutes. I was looking for something simple to learn basic editing. 1 week of starting with Vim and I can go by without touching the mouse. I am still very slow, but I will get there. Thanks.

  • @iamdedlok
    @iamdedlok 3 года назад

    This was amazing. I was in a CentOS server and had to muck around and edit few files, this video saved my life! Thanks a lot!!!

  • @jvm-tv
    @jvm-tv 4 года назад

    Almost covering basics commands that you see in File and Edit menus of notepad or any other basic editor. Awesome starter!

  • @thegameoflife1014
    @thegameoflife1014 3 года назад

    my internship is literally scripting in the command line. This video is a lifesaver.

  • @nalgene247
    @nalgene247 6 лет назад +1

    As a newb vim user, I found the undo/redo commands and especially the search and replace function extremely helpful. Looking forward to the next one!

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

    finally exited vim after several years, thank you!

  • @musheershaikhind
    @musheershaikhind 2 года назад +1

    Thank you for making the Vim basics very very easy. I learnt a lot in few minutes.

  • @eskrest
    @eskrest 6 лет назад +22

    I used nano for a while now, and I think it's time to move to vim. Thanks!

    • @averagejeffs
      @averagejeffs 6 лет назад

      Johnny you only need nano or pico

    • @eskrest
      @eskrest 6 лет назад +1

      That's true, but I wanna learn something new and more advansed

    • @nicolareiman9687
      @nicolareiman9687 5 лет назад +5

      Type vimtutor in terminal it would help you.

    • @linusbrendel
      @linusbrendel 3 года назад +1

      Have you guys heard about micro? It's a terminal code editor designed to be one step above nano. It has modern shortcuts, full mouse support and syntax highlighting.

    • @jiangxu3895
      @jiangxu3895 3 года назад

      @@nicolareiman9687 Thanks for this information. I've already found the humor of nerd in that tutor file.

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

    rewatched this whenever I forgot something -amazing video!!!!! super organized!!!

  • @CoinedBeatz
    @CoinedBeatz 5 лет назад +3

    cut from current line to specified:
    d G
    replace word from current position
    cw
    replace entire word:
    ciw
    Replace line from current position:
    C
    my most appreciated commands

  • @ChanName2
    @ChanName2 6 лет назад +18

    thank you for the no-music intro

    • @alyfreecss1100
      @alyfreecss1100 5 лет назад

      what is wrong if there is a music intro i am just asking ?? wanna know more about that if you will !

  • @Mortum_Rex
    @Mortum_Rex 5 лет назад +4

    Oh god bless you sir! I've been stuck in Vi for a year and a half :(

  • @finoderi
    @finoderi 5 лет назад +1

    Your channel is the most useful source of tips and tricks for me. Without 'My 90 reasons to not use Windows' and 'Why we should burn systemd to the ground' stuff. I very much appreciate it.

  • @anaf4072
    @anaf4072 5 лет назад +7

    This was very helpful. Saved me an hour of frustration for sure. Thanks!

  • @Safnaaz
    @Safnaaz 4 года назад

    much needed video while I am learning docker. thanks man (cried when I hit ctrl+z each time instead of ctrl +r)

  • @lafontaineadam
    @lafontaineadam 4 года назад

    wow, I found this video to be exactly the type of quick and dirty explanation I needed. I hope you have more videos just like this for EVERYTHING. I subbed and will rifle through your videos now. Great Vid, seriously

  • @PatrickBurkeTV
    @PatrickBurkeTV 2 года назад +1

    Excellent tutorial. 8 minutes with a hefty ROI. Trying to get my Terraform cert - too much to learn, too little time...
    Thanks David!

  • @tolson-vkn
    @tolson-vkn 6 лет назад +11

    A great way to teach people vim is to have them install the vscode plugin. Then teach them things like the built in find and replace can be replaced by %s/foo/bar/g etc. Super nice

    • @chezchezchezchez
      @chezchezchezchez 4 года назад +1

      Timmy What about the visual studio plug-in? Is that equally good?

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

      @@chezchezchezchez If you install neovim, and use the neovim extension. It basically has full neovim functionality whilst also including inbuilt vscode functionality. Very nice

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

      @@Faunarr Thanks, how about Xcode? I'm now all Xcode.
      Thanks!

  • @kalamarievans3917
    @kalamarievans3917 6 лет назад +1

    I love these tutorials I'm currently in a cybersecurity course in high school and it's really helpful to watch your videos and take notes :)

  • @LDWilliams
    @LDWilliams 4 года назад +4

    Thanks. I'm pretty damn new to all of this and had avoided vim as there seemed to be two camps, those that used editors like nano and avoided vim like Covid-19 and those that gave you the feeling that any GUI was heresy. You explained it easily, almost casually and didn't make it appear daunting at all

  • @peshualmeida4139
    @peshualmeida4139 5 лет назад +2

    Feeling great and comfortable after refreshing basic skills from your videos. god bless you !

  • @dinindu1928
    @dinindu1928 3 года назад

    Great tutorial man.Before I found this tutorial I think that vim made for only advanced programmers.But now i think it's make your life lot easier

  • @damienw4958
    @damienw4958 5 лет назад +8

    The big one is :help (what you want to know here without brackets), I found out how to quit as a noob with this trick!

  • @kazuwilliams5222
    @kazuwilliams5222 4 года назад

    with just learning VIM, I feel like my cat...scratching the surface to smell what's underneath. Thanks for the basics.

  • @contoneaster
    @contoneaster 4 года назад +2

    Good quick overview, thanks. I used vi for 20 years. Now after a long period of not programming, I'm getting back into it. I hope the memory is still retained in my fingertips. BTW, g means "global" not "greedy"

  • @TheKeule33
    @TheKeule33 5 лет назад +25

    Not gona lie, I came here for :q

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

    @6:34 the 'g' stands for "global". Greedy is a term that's usually used to describe regular expressions that look for as many matches as possible. They have similar definitions, but are used differently when describing those specific use cases. Hope this helps. :)

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

    I was stuck in vi insert mode for 20 minutes during solo practice class, thanks for your help!

  • @timoteostation
    @timoteostation 4 года назад

    Another basics that I recommend:
    :! - send command to terminal (useful for git stuff and some basic commands, not recommended for interactive commands)
    :e - open the netrw file navigator inside vim (you can simply type ":e ." to use it on the current directory)
    :tabnew - create a new tab
    :tabedit - opens a new tab editing a specific file (or you can type ":tabedit ." to use netrw for interective file selection)
    g, t - switch to the right tab
    g, T - switch to the left tab
    Some tricks with split:
    CTRL + w, arrow (up/down/left/right) - split navigation (when you use :term, NERDTree and another split stuff inside vim, similar to tmux)
    :term - opens a shell inside vim (neovim and most recent versions of vim, work as a split)
    CTRL + w, s - create a vertical split (or you can type ":vsp" on normal mode)
    CTRL + w, v - create a horizontal split (or you can type ":sp" on normal mode)
    And some of my favorite extensions:
    :Files - opens a fzf navigation through the current directory (useful for large projects)
    :VirtualEnvActivate - forces vim to use Python from a specific virtualenv (I've tested it with virtualenvwrapper, maybe works with venv too)
    :VirtualEnvList - list all virtualenvs
    :VirtualEnvDeactivate - switch back to the default Python from OS
    For the :Files you need fzf and fzf.vim (both from junegunn on GitHub), and for the VirtualEnv commands you need vim-virtualenv (from jmcantrell on GitHub).

  • @DIY_Miracle
    @DIY_Miracle 3 года назад

    Thanks for the quick video. Just needed a refresher, not a full walkthrough. :)

  • @umaodihirin5879
    @umaodihirin5879 6 лет назад +1

    Thanks! This was super helpful in addition to the 'vimtutor' command. I always had fun going through that little tutorial.

  • @christiancarter255
    @christiancarter255 2 года назад

    For me, it was a good intro to Vim. Thank you.

  • @leonf.7893
    @leonf.7893 2 года назад +1

    Very concise and clear. Great job.

  • @jiangxu3895
    @jiangxu3895 3 года назад

    Man, you save me from a big problem of getting out of VIM. I am serious!!!!

  • @jasbeersingh198
    @jasbeersingh198 4 года назад

    Up voted for the nice description. Saved most of my time. I just needed to learn the replace thing.

  • @GeekyMino
    @GeekyMino 4 года назад +2

    Amazing tutorial. Quick and straight to the point!

  • @WhitneyBellow
    @WhitneyBellow 4 года назад

    We all have to start somewhere. Thanks for initiating us on this journey!

  • @rp627
    @rp627 2 года назад

    holy moly, as a person that’s used non-terminal apps ‘n fat IDEs, this was refreshing! thanks for this.
    i personally always thought it was some ancient thing with wonky commands... it seem i was thinking of emacs...

  • @dankierson
    @dankierson 2 года назад

    Best goddam intro to Vim I've come across. _Sombrero_ 🤠

  • @KingstonFortune
    @KingstonFortune 2 года назад

    I cant believe this video is upto 8mins, it seemed more like 2mins as it was really interesting to watch, I naturally like the simplicity of nano but because of you, I am gonna quit using nano and switch to vim. you should definitely make a part two.
    Also, that joke about sticking a noob into a terminal running vim and them not being able to quit is soo true, faced it many times 🤣😂

  • @angelpdg
    @angelpdg 2 года назад +1

    very simple and on to the point. Thank you!

  • @craigw4644
    @craigw4644 4 года назад

    Switch from nano a while back, liking Vim a lot, always learning new things, nice tutorial. Thanks.

  • @pta03996
    @pta03996 4 года назад

    Finally, someone just made a good vim tutorial

  • @iamadityavaishy
    @iamadityavaishy 2 года назад

    Great explanation. I remember pretty much every command you told.

  • @blackblue3174
    @blackblue3174 5 лет назад +2

    basic but very good for beginner, thanks a log

  • @go4sens600
    @go4sens600 3 года назад

    You're way better than my Linux prof

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

    Great video, new to linux and this helped me a lot, Thank you!

  • @zereprd3911
    @zereprd3911 5 лет назад

    That's too funny! ...stick a noob in front of a keyboard and get him to quit vi... Hey, that was me! Based on that alone (I'm still going through your video, only at 1:52 on the timer as of this comment) I'm commenting and subscribing.

  • @MarcEPliester
    @MarcEPliester 5 лет назад

    I found vim difficult so use nano. But your easy explanation will make me to try vim again. It is much easier than I thought. Thanks for the clear explanation.

  • @slimanemesbah8500
    @slimanemesbah8500 3 года назад

    what an amazing video, i like the way you memorise the codes

  • @alyfreecss1100
    @alyfreecss1100 5 лет назад

    Thanks for saving my time

  • @kjell159
    @kjell159 5 лет назад +3

    This was actually a very helpful explanation, just what I was looking for! Great job.
    I have used LInux (dabbled with Ubuntu, Debian, Debian derived distributions, Fedora, ...) and some Bash shell command line commands - the famous powerful Linux emulator tool: THE THERMINAL! /dreaded by people who are only used with GUI's , beloved by powerusers -- since about 6 years ago, but I have also spend a lot of time on OS X as I dualbooted it with Linux, in which longer time period I dabbled a lot less with Linux and the command line.
    I'm not a programmer, developer, system administrator whatsoever, I don't know any programming language. (had a few python lessons which I was terrible at, score of 1/4 for a project - which I 'kind of' copied huge parts from a friend -: programming an hourglass with a visual presentation and so dreaded it pretty terribly)
    But I find open-source software, the Linux and GNU philosophies, the forms of freedom you can find in it, to be pretty enchanting; so finally getting a first grasp on one of the, if not most, widely used CLI text editors across the Unix and Unix-like landscapes is pretty cool.
    A computer that just works for desktop applications is very understandable, not everybody wants to thinker, break, fix, find, source, compile, fail & try again; with their computer. But it has a uniqueness to it. I've always prefered Unix & the like systems some way above Windows, even though the Linux & Unix desktops are 'scattered', if you know what I'm trying to say. Yes, I'm talking about desktop experiences/little experiments, not server and other applications.

  • @nk2164
    @nk2164 5 лет назад

    Thanks for this video. Gave just enough info to get me started on vim. Appreciate it.

  • @danielchrabolowsky2859
    @danielchrabolowsky2859 4 года назад

    Some tips I learned from working on remote servers with really unreliable connections, dialing into Unix, Solaris and the not-so-usual server kind:
    - you'll find vi in pretty much ANY *nix system, doesn't matter how old, small it can be, vi, will most likely be there, so LEARN IT, some day in the fallout future you might have to work on a terminal from 1982
    - You can press ESC as many times as you want, very good if you have significant input lag and you're not sure where you're standing.
    - "hjkl" replaces arrow keys. Useful when you're not sure if all the keyboard signals are being sent/received with different communication protocols.
    - 0 takes you to the first character of the line, $ to the last
    - w takes you one word forward, b one back
    - There's shells like "ksh" that leverage vi in the command line
    We could go all day ! :)

  • @omar_5352
    @omar_5352 4 года назад

    Colon then (q) to quit. This is exactly what I came here to learn. Leaving now!
    P.s.: In remote server when you do not have Sublume and Atom, Vim is not the only choice, there is always Pico and Nano.

    • @xrafter
      @xrafter 4 года назад

      And emacs too

  • @viniciushenrique8211
    @viniciushenrique8211 2 года назад

    Really useful quick intro, thanks

  • @georgeofhamilton
    @georgeofhamilton 3 года назад

    I like your manner of speaking here.

  • @iakashx
    @iakashx 6 лет назад +2

    I love your videos. This video is great. I will be using vim. We can also use vim behaviour in any IDE so we can always be in practice.

  • @jakehuang3545
    @jakehuang3545 3 года назад

    I can't like this enough. Thank you so much

  • @GUIHTD
    @GUIHTD 4 года назад

    6:26 Isn't it 'g' for 'global' not 'greedy'? What does it do? It replaces all occurrences on a LINE instead of just the first occurrence on a line.

  • @Douglas-hw8is
    @Douglas-hw8is 4 года назад

    Thanks a ton - for a noob like me this was soooo helpful! More basic stuff like this please!

  • @remccs16
    @remccs16 3 года назад

    FANTASTIC intro thank you!

  • @balmyequestrian5326
    @balmyequestrian5326 6 лет назад

    heh, i got my first job in devops a few months back.
    i had only ever used emacs - didn't realize that every machine i'd ssh into would only have vim. i asked the team if i could install emacs on everything, and the response was "the hosts already have an OS, they don't need another one" ahahaha
    this and tmux are the two things i wish i'd learned before starting.

    • @casperes0912
      @casperes0912 6 лет назад

      Hehe, such true. There's a bloody Pong game built into eMacs. Or at least my flavour of eMacs has it

  • @1uan1mao
    @1uan1mao 4 года назад

    this sounds like editing text on a new level

  • @tarikzaki5442
    @tarikzaki5442 4 года назад

    i'm new to vim and i liked it , in fact i'm fascinated with it

  • @danielsandtner175
    @danielsandtner175 6 лет назад +1

    Awesome tutorial for beginners, please do a follow up

  • @TmanaokLine
    @TmanaokLine 6 лет назад

    Awesome, I finally appreciate VI/VIM as a n00b. Thanks :P

  • @trigger60
    @trigger60 4 года назад

    This video is kind off 2 years old now, but your still the Man?

  • @andreimargeloiu-machinelea1484
    @andreimargeloiu-machinelea1484 4 года назад

    Great introduction to Vim!

  • @vasudevareddy5378
    @vasudevareddy5378 4 года назад

    at 7:45 how to replace a linux path as it already have slashes right ?

  • @hallvardlundehervig5508
    @hallvardlundehervig5508 4 года назад

    Saved me much time. Thanks grand sir!

  • @TornacenseDeFuturo
    @TornacenseDeFuturo 4 года назад

    Thank you, very helpful!
    it's the first time I'm using VIM, and at the beginning, I was like "What annoying editor".

  • @jerwinsamuel
    @jerwinsamuel 6 лет назад

    great video for beginners of Vim like me. Thank you! Very useful

  • @hayathbasha4519
    @hayathbasha4519 3 года назад

    Thanks today learned more about vim

  • @unlokia
    @unlokia 5 лет назад +1

    You're THE MAN! God bless you, Sir. :)

  • @LHFsmileface
    @LHFsmileface 6 лет назад +1

    Dude, it changed my life lmao

  • @HassanMurtazaImbusinessman
    @HassanMurtazaImbusinessman 6 лет назад

    It was one fine introduction. Thanks!