vim-codefmt is a syntax-aware code formatting plugin for Vim that provides a unified interface to many best-in-class formatters across languages. It exposes simple commands to format either a selected range or an entire buffer, and integrates cleanly into everyday editing workflows. The plugin ships with a registry of built-in formatters and a pluggable architecture, allowing other plugins to register additional formatters without friction. Configuration is handled through maktaba and Glaive flags, so you can choose per-filetype tools, pass custom options, or point to specific formatter executables. Autoformat can be enabled via standard Vim autocommands, making it easy to format on filetype or on write while still allowing opt-out on a per-buffer basis. With broad language coverage—from C, C++, Java, Python, and Go to Kotlin, Rust, Swift, Bazel, Markdown, and more—vim-codefmt helps teams maintain consistent style across heterogeneous codebases.

Features

  • Unified commands to format a range or the entire buffer via :FormatLines and :FormatCode
  • Large catalog of built-in formatters covering many languages and ecosystems
  • Pluggable registry so other plugins can register new formatters without forking
  • Fine-grained configuration through Glaive flags, including executable paths and options
  • Easy autoformat setup using Vim autocommands, with per-buffer opt-out via :NoAutoFormatBuffer
  • Works seamlessly with external tools like clang-format, prettier, gofmt, rustfmt, ktfmt, buildifier, black, yapf and more

Project Activity

See All Activity >

Categories

Code Formatters

License

Apache License V2.0

Follow Vim Codefmt

Vim Codefmt Web Site

Other Useful Business Software
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Vim Codefmt!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Julia

Related Categories

Julia Code Formatters

Registered

2025-10-11