aboutsummaryrefslogtreecommitdiff
path: root/files/.vim/ftplugin
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2013-11-21 21:22:40 +0600
committerAnton Bobov <abobov@gmail.com>2013-11-21 22:30:05 +0600
commit5eddf7f0eb7a57f3eab5c0cc98b62f6da6280b30 (patch)
treea791e72e50862915809aba8989d9d567556a6b38 /files/.vim/ftplugin
parent94f4b6ba3de933d54ab7aed0c14003d91615bcca (diff)
Add ledger support.
Vim ledger template and auto aligning with tabular plugin. Add zsh aliases.
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>