A Vim plugin providing filetype detection, syntax highlighting, auto-formatting, and auto-completion for Ledger and Hledger plain text accounting files.
vim-ledger is a Vim plugin that adds specialized support for editing Ledger and Hledger plain text accounting files. It provides syntax highlighting, auto-formatting, auto-completion, and transaction management tools to streamline working with double-entry accounting data directly in Vim. The plugin aims to reduce manual formatting errors and improve productivity for users who manage finances with plain text tools.
Vim users who utilize Ledger or Hledger for personal or professional double-entry accounting and want a more integrated editing experience within their text editor.
Developers choose vim-ledger for its deep integration with Ledger/Hledger workflows, offering tailored features like account completion and transaction alignment that generic text editors lack, all while staying true to Vim's modal editing philosophy.
Vim plugin for Ledger / Hledger
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Color-codes transactions, accounts, dates, and amounts specifically for ledger files, making complex financial data easier to scan and edit.
Offers omni-completion for account names and descriptions with sub-level or fuzzy matching, reducing manual entry errors and speeding up workflow.
Generates balance reports and quickfix windows directly within Vim using Ledger/Hledger commands, allowing for quick financial insights without leaving the editor.
Aligns commodities and amounts at customizable columns with decimal point alignment, ensuring clean and readable transaction blocks as per user preferences.
Requires numerous let-statements in .vimrc for customization, such as g:ledger_align_at or g:ledger_fuzzy_account_completion, which can be overwhelming for casual users.
The dangerous automatic formatting feature (g:ledger_dangerous_formatprg) is warned to potentially corrupt non-transaction blocks if misapplied, posing a safety concern.
Exclusively designed for Vim, with no support for other editors or IDEs, limiting its utility for teams using diverse development environments.