aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'files/.vim/ftplugin')
-rw-r--r--files/.vim/ftplugin/ledger.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/.vim/ftplugin/ledger.vim b/files/.vim/ftplugin/ledger.vim
new file mode 100644
index 0000000..22665bc
--- /dev/null
+++ b/files/.vim/ftplugin/ledger.vim
@@ -0,0 +1,2 @@
+AddTabularPattern ledger /\v\s{2,}\zs.? ?-?\d+(\.\d+)?( \w+)?$/l0r0
+nmap <Leader>= :%Tabularize ledger<CR>