Vim Can Save You Hours Of Work

169,377
0
Published 2020-12-29
I sometimes get people asking "Is learning Vim worth it?" The answer to that question is a resounding "YES!" Vim can save you so much time editing text once you learn some of the advanced features available within it.

REFERENCED:
www.vim.org/

WANT TO SUPPORT THE CHANNEL?
💰 Patreon: www.patreon.com/distrotube
💳 Paypal: www.paypal.com/cgi-bin/webscr?cmd=_donations&busin…
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/stores/distrotube

SOCIAL PLATFORMS:
🗨️ Mastodon: mastodon.technology/@distrotube
💬 IRC: irc://freenode #distrotube
👫 Reddit: www.reddit.com/r/DistroTube/
📽️ LBRY: lbry.tv/$/invite/@DistroTube:2

DT ON THE WEB:
🕸️ Website: distrotube.com/
🐿️ Gopherhole: gopher://distro.tube
📁 GitLab: gitlab.com/dwt1
🔊 Audio Podcasts: www.buzzsprout.com/1263722

FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org/
🎨 GIMP: www.gimp.org/
🎵 Audacity: www.audacityteam.org/
💻 VirtualBox: www.virtualbox.org/
🗒️ Doom Emacs: github.com/hlissner/doom-emacs

Your support is very much appreci

All Comments (21)
  • @klimenkodr123
    > Has relative line numbers enabled > Still does the math to calculate lines
  • Not having to touch your mouse to use a text editor is underrated. Vim is great for laptops!
  • @myview9923
    I think learning a new programming language is easier than using the editor
  • @caleb7884
    I like how genuine dt is, when he makes a mistake he doesn´t edit it out, he shows himself learning it along with us
  • @kaosfang6907
    How have I been using Vim keybindings for almost 2 years and i didn't know about :ab that would have been beyond useful many times. Amazing video DT keep up the amazing content.
  • Of all the examples that were given, I’d either never use it, or I can do it faster in sublime. I used Vim for 6 months and I still went back to Sublime. I think it just comes down to personal workflow preference
  • @CryptoDefender
    Must be one of the most practical and easy to watch overviews of Vim out there on YouTube! Great content as usual DT. Many thanks.
  • @balmar3
    11:22 At that point you can just hit I"<esc> and that will do the job. Similarly, to add to the end of each line select in block visual mode, then hit $ and A"<esc>. No need for all that command mode then normal mode trickery.
  • @bobwright8000
    Thanks DT. Vim is a powerful editor; I have used it for years. The better you know it, the more time you can save. Great job on the video.
  • @zomakaja
    Most vim videos have the same info. But I actually learned something new in the video
  • @Biggybi
    A few notes: - `g;` goes back to the last modification, while `` would be the last cursor position - to indent a paragraph, you can use `>ap` (`ap` is the paragraph text object) - to remove the `"` in this context : `vap :s/"//g` (select around paragraph then replace '"' with nothing, `g` to get every match in the line) Good work though, looking forward for more Vim vids !
  • @Simi3x
    Feels like learning Regex with extra steps.
  • I use just vim, but everytime I see someone speaking of advantages of vim, clearly they haven't spend a second loooking up the documentation of other editors. Every code editor has a lot of features like those of vim.
  • @TheAnffer
    I've been using vim for maybe 3 months with a couple of plugins and it is awesome! This video added a couple of tools to my toolbox. Good video DT
  • @txemaotero3250
    After so many years using vim I don't know how but I am still learning new stuffs, amazing. I didn't know about abbreviations. Thank you for the content DT! Keep going!!
  • @migue7490
    I feel so comfortable using Vim and I realized that I know only 0.01% of its features. To delete ending " instead of macros I prefer %s/"$//g, and I instead of doing "norm" in block mode I use "I", or "A" directly, I don't know if what I do works in all cases. Great vid!
  • @cerocero2817
    I will probably end up learning vim anyway, but I find it a bit discoursging how almost everytime someone comes telling how vim is so superior to other programs and it will save you thousands of hours they end up giving some examples that could essily be done in typical programs just as fast, like the example about deleting the double quotes, I could do that in a couple seconds in any editor with multicursor, faster than using a macro. They are just as ignorant about standard editors as we are about Vim.
  • @LeCockroach
    I love the idea and power of VIM and vim clones, and I tried them at least 5 times in the past and in the end went back to my previous editor or whatever. It feels like you need a lifetime to learn the basics and then you discover a plugin that possibly improves your workflow and you need to relearn everything again. But it's true that you can (once you master it) do almost anything very fast. Useful video!!
  • @Simi3x
    Honestly the IDE's I'm using are all capable of selecting multiple rows, replacing words and swapping lines. If you're comparing Windows Editor to vim, it's obviously more capable of doing stuff. Haven't yet found a feature convincing me to learn vim.
  • @neoplumes
    Vs code can do cutting/pasting lines, moving lines up/down, navigating to the end/beginning of the document, selecting multiple lines at once, and regex search/replace. All without the mouse... I knew VIM had a hardcore following. It's good to know I'm not missing out with these specific examples of why it's so powerful.