aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/beancount.txt38
1 files changed, 4 insertions, 34 deletions
diff --git a/doc/beancount.txt b/doc/beancount.txt
index 63e25f5..e3801cc 100644
--- a/doc/beancount.txt
+++ b/doc/beancount.txt
@@ -21,35 +21,6 @@ Contents:
COMMANDS *beancount-commands*
- *beancount-:AlignCommodity*
-:AlignCommodity Adds spaces between an account and commodity so that the
- decimal points of the commodities all occur in the column
- given by |g:beancount_separator_col|. If an amount has no
- decimal point, the imaginary decimal point to the right
- of the least significant digit will align.
-
- The command acts on a range, with the default being the
- current line. If the cursor happens to be inside that
- range and to the right of the account name, the cursor
- will be pushed to the right the appropriate amount, so
- that it remains on the same character.
-
- The script assumes the use of spaces for alignment. It
- does not understand tabs.
-
- You can use the following insert-mode remap to
- automatically align commodities every time you type a
- decimal point: >
-
- inoremap . .<C-\><C-O>:AlignCommodity<CR>
-<
- You may also want to set other mappings for this. For
- example, I use >
-
- nnoremap <buffer> <leader>= :AlignCommodity<CR>
- vnoremap <buffer> <leader>= :AlignCommodity<CR>
-<
-
*beancount-:GetContext*
:GetContext Uses bean-doctor context to display the context of the
current line.
@@ -73,17 +44,16 @@ OPTIONS *beancount-options*
Default value: 0
-*g:beancount_separator_col*
- The column that the decimal separator is aligned to.
-
- Default value: 50
-
*b:beancount_root*
Set the root Beancount file. This is used to gather values for the
completion. If not set, the current file will be used.
Default value: not set
+FORMATTING *beancount-formatting*
+
+The plugin sets |'formatprg'| to 'bean-format -c61' to provide a formatter for
+beancount files. See also |gq|.
COMPLETION *beancount-completion*