aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Chu2016-06-08 05:27:48 +0000
committerJason Chu2016-06-12 23:09:15 +0000
commitd3aef2a9bee0962cff93f5a68588d558559f46a6 (patch)
tree75f64733509c544ea12f0cec93503e647531f656 /doc
parent8d13b147c6feb68af10112c3d2c6dccd1a4aead4 (diff)
downloadvim-beancount-d3aef2a9bee0962cff93f5a68588d558559f46a6.tar.gz
Add a function to display the current line's beancount context in a scratch window
Diffstat (limited to 'doc')
-rw-r--r--doc/beancount.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/beancount.txt b/doc/beancount.txt
index 03f4c17..2a2f37c 100644
--- a/doc/beancount.txt
+++ b/doc/beancount.txt
@@ -50,6 +50,16 @@ COMMANDS *beancount-commands*
vnoremap <buffer> <leader>= :AlignCommodity<CR>
<
+ *beancount-:GetContext*
+:GetContext Uses bean-doctor context to display the context of the
+ current line.
+
+ You can use the following normal mode remap to open the
+ context of the line you're currently on: >
+
+ nnoremap <buffer> <LocalLeader>c :GetContext<CR>
+<
+
COMPLETION *beancount-completion*