Format Code The Vim Way

This page summarizes the projects mentioned and recommended in the original post on /r/vim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • sh

    A shell parser, formatter, and interpreter with bash support; includes shfmt (by mvdan)

  • I remember learning about formatprg when I was just learning about vim. But it went over my head then! I am very glad for this video. I think I'll try out https://github.com/mvdan/sh as a format program next time I have to shill out some shell.

  • vim-prettier

    A Vim plugin for Prettier

  • Personally I like to use plugins (prettier/vim-prettier / fatih/vim-go) for added simplicity and less manual configuring (less filetype based configuring etc.).

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts