How to Do 90% of What Plugins Do (With Just Vim)

861,542
0
Published 2016-10-05
Vim is big; so big that it does some very useful things that are often overlooked. Plugins can buy us a lot of functionality, but they can add a lot of burden in the form of dependency complexity. In this talk, we'll explore some of the tradeoffs we can make between plugins and "vanilla" Vim features that achieve similar results, including:

- autocomplete (VimAwesome, YouCompleteMe)
- file jumping (FuzzyFinder, Ctrl-P)
- visual filesystem navigation (NERDTree)
- build integration
- snippets

The "slides" and supplemental vimrc are available here: github.com/mcantor/no_plugins

Learn more from the developers at thoughtbot ⌨️
Head over to tbot.io/dev-blog to read more great articles on our blog.

All Comments (21)
  • @bgbong0
    It never fails. The speaker at a "Mastering Vim" will always have at least one moment in the live lesson where they say "Oh wow, I didn't know you could do that..." Just shows how deep the vim rabbit hole goes, and how learning-mode brain is so much more different than get-normal-work-done-mode brain.
  • @driden1987
    It's 2024 and I still keep coming back to these thoughbot vim talks (also some of the emacs ones). I don't know if these still exist, if they don't please bring them back, they're great
  • @jasonxoc
    This video and "Mastering the vim language" are my two favorite videos on vim, both from thoughtbot. After using Vim for about 2 years I still watch these videos from time to time when I'm bored.
  • @cognishn
    Easily one of the best vim talks I've ever seen!
  • For the question of how to select completion without leave insert mode, ^n ("n" for next), ^p ("p" for previous), and ^y for yes accept selection :)
  • @DeanGadberryYT
    I love this talk. I return to watch this video so many times because I continually forget that VIM is MASSIVELY extensible. Thank you for sharing this with us!
  • @FerrumCorde
    Man I was in as soon as you started talking about overlooked tools being a priority. I'm all about that. I'ma have to watch a bunch of these
  • @sultral
    Excellent presentation! I learnt a lot from it. Thank you Max! Perfect speed and great humor along the way!
  • Fantastic video! The snippet completion thing with nnoremap is my new favorite feature.
  • @holalluis
    great video! I've been using vim for several years, and I always like to watch videos like these and learn new things! BTW, for the system clipboard issue, you can do it with "set clipboard=unnamed"
  • @lordofenron
    Wow! I have seen this video like 4 times and each time there is something I have been thinking about. Last time it was the fuzzy search and this time its the snippets - I really like your way of using vim!
  • @blank2707
    27:24 "some of the default bindings use ctrl-x, I have no idea why?" I'm like 80% sure the completion stuff was partly written by an emacser who was experimenting with the "dark" side. C-n, C-p, C-x.
  • @TJKhara
    Love it. Thank you so much. Just tried the set path and then finding the files and it is amazing!
  • @noelevans
    As a vim beginner / intermediate this talk is fantastic. Thank you!
  • @porcellinoveille
    The best vim video I've ever watched. I learned tons of new features and worked on my vimrc file for hours to make it lighter. Now I am confident with help files and I can confirm that every single visit through these pages is an opportunity to be amazed again by the quality of this software. Love vim more and more <3
  • @marcosmota1094
    Thank you. I'm a junior sysadmin catching up after a long hiatus. Great talk and super useful for the future. Shared it with friends.
  • @TrailHacker
    Great talk, Max! I am a big vim guy (or at least consider myself a big vim guy) and learned a lot from this talk. This morning I've simplified my .vimrc drastically per your teachings. I feel like a noob again. Thanks again!
  • @reverseila4363
    After watching videos like this, one thing happend to me is that i now feel i can read help files more confidently. For very beginners, one should start with videos like these or even more simple, rather than reading through help to find ins and outs of everything. One of the best vim talks/tut videos i have watched. Thanks