IDE-like Refactors, Snippets, Tests, Hover Documentation, Commenting, and Git
This episode showcases a grab-bag of features that developers accustomed to IDEs will appreciate in vim, such as how to execute the current file from within the editor, how to run tests related to the current function, how to integrate with git source control to stage and commit files, how to write and use code snippets, how to do syntax-aware commenting and uncommenting, and how to avail of automatic project-wide method name refactors using the LSP.
- neovim - The vim fork I happen to use. I have no opinion on whether it's better or worse than regular Vim. This video used version 0.4.3
- ripgrep - Faster grep/ack/ag replacement
- diff-so-fancy - Better-looking git diff's in the terminal
- python-language-server - The python component used in combination with vim-lsp to deliver refactoring across the project.
- fugitive.vim - Incredible git integration with Vim.
- caw.vim - Syntax-aware commenting in Vim.
- unimpaired.vim - A bunch of ergonomic "bracket mappings" (e.g.
[b to switch buffers)
- projectionist - matching of "alternate" and "related" files in a project (e.g. source code with tests).
- ALE linter - Linting you'll notice
through the video.
- vim-test - A Vim wrapper for running tests on different granularities.
- vim-lsp - Language Server Protocol integration for Vim. Neovim will soon include a built-in LSP integration, so presumably most of the neovim community will switch away from third party plugins once the feature stabilizes.
- UltiSnips - a snippet solution for Vim.
New Episode Alerts