vim-ledger


Ⅰ. 插件描述

syntax and utility functions for managing ledger files with vim

Ⅱ. 基本信息

创建日期:  2013-02-12
使用用户:  1
Github星:  2
插件作者:  Devendra Gera

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gera/vim-ledger-left-unsaid'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gera/vim-ledger-left-unsaid'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gera/vim-ledger-left-unsaid'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gera/vim-ledger

Ⅳ. 文档说明

vim-ledger

Syntax, middle-of-the-word autocomple (eg: bank to a previously mentioned
assets:bank) and useful functions (eg, toggle cleared state for
transactions) for managing ledger files with vim.

Usage

For all *.ledger files, it automatically sets up the syntax highlighting. Use
F3 to toggle the cleared status of a transaction and <C-K> to autocomplete
transaction titles (usually payees by ledger convention) and accounts.

The completion is fairly naïve and just completes words/titles. Specifically,
it makes no attempts to exclude words from within comments.

Customization

Syntax highlighting (colours, currencies etc) are defined in
syntax/ledger.vim and kay mappings in plugin/ledger.vim

Installation

With pathogen

Clone the repo in your ~/.vim/bundle/ directory and you should be set.

Without pathogen

Put the individual .vim files in the corresponding vim directories (eg,
~/.vim/plugin etc).

License

This is public domain and comes with no warranties, explicit or implied. I
would bet on it having many issues and wouldn't vouch for its fitness for any

  1. Use at your own risk.

添加新评论