I like vim because it doesn’t come with a lot of things, it’s just a text editor. If you need a feature in vim, you need to do it yourself or use a plugin. You can build your own text editor, without the bloat of an IDE like vscode.
If you are a software developer, here some of the commands and optional plugins that I use on a daily base:
- synthax: vim-polyglot
- completion: coc
- linter: ale
- snippets ultisnips and vim-snippets
- testing: vim-test
- nodejs: vim-node
To move around files, I use netrw (Explore) which come with vim by default.
run node on the current buffer:
command Node exec ":! node %"
debug the current buffer in chrome:
command NodeDebug exec ":! node --inspect-brk %"
debug the current buffer using mochajs:
command NodeDebugMocha exec ":! npx mocha --inspect-brk %"
format the current buffer:
command PrettyJson exec ":%!jq '.'"