HackerTube

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

thoughtbot10 HN recommenders · recommended in 10 months, 2016–2025
YouTube
talk · intermediate · evergreen · 2016–2025 on HN

A thoughtbot meetup talk by Max Cantor on getting most of what popular plugins provide using only built-in Vim features. It covers autocomplete, file jumping, filesystem navigation, build integration and snippets, with slides and a vimrc available.

HN treats it as the canonical talk for the case that vanilla Vim goes a long way and plugin dependencies are a burden.

12 comments from Hacker News

@farisjarrah2021-11 · in “Happy birthday Vim (2020)”

The thoughtbot series on vim is great. I'm really glad I found this video early in my Vim career. I've got a very minimal vimrc as a result and just try to lean into the vim builtins ▶ this video

Strongly recommends View on HN
@skydhash2025-04 · in “OpenVSX, which VSCode forks rely on for extensions, down for 24 hours”

With editors like vim, neovim, emacs, it's way easier to get the lay of the land first (tutorial, play around with the default config,..) and then list out what you need. My vim config has three things only: LSP, FZF (for anything fuzzy), and Plug (to install the above two). There's also a few niceties, but I could do without them. or vendor them into the main config. But it's not my daily editor, so that's just the base config. Anything I could add on top of that would depend on the projects I would need it for. That's about 200 lines (the lsp config is 1/4 of that) NB. A nice talk even if it's about vim "How to Do 90% of What Plugins Do (With Just Vim)" ▶ this video

Recommends View on HN
@gregjor2025-02 · in “Ask HN: Alternative to VS Code?”

> The ability to autocomplete, and navigate through the code (even my dependencies's code) by the click on a function, the popover showing the documentation/signature of the function i'm going to call. Those are Quality of Life features I'm not ready to give up on. ctags did most of that decades ago. Plain vim has good autocomplete and signature popovers, along with navigating to functions and class definitions. No LSP needed. An LSP will do it better but with sometimes significant overhead. As I noted I don't use VSCode or a JetBrains IDE. I know about them and have used them. My setup works language-agnostic, and I also work in multiple languages. Possibly useful, at least interesting: ▶ this video

Recommends View on HN
@gregjor2024-12 · in “Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?”

I use vim with ctags. vim has good autocomplete but I don't use it much -- I rely on memory and looking things up in the docs. With ctags I can jump to definition/implementation of a function. ctags has worked since the early 1990s. Check out this video: How to do 90% of what plugins do with just vim. ▶ this video

Recommends View on HN
@noud2023-07 · in “LazyVim”

Am I the only one using vanilla vim with a minimal configuration file (<50 lines)? I set tabs to 4 spaces, put syntax highlighting on, set background to dark, add fuzzy finding, and configure netrw (default file browsing). Very easy to setup. Moreover, when I'm on a different computer and open (vanilla) vim without any configurations. I know that everything is more or less the same as my default vim environment. I think it's not that hard to learn developing in the default vim environment, with some minor tweaks. Also related, How to Do 90% of What Plugins Do (With Just Vim): ▶ this video

Recommends View on HN