aboutsummaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2018-09-02 14:32:00 -0400
committerTucker Evans <tuckerevans24@gmail.com>2018-09-02 14:32:00 -0400
commitd071b1b3c57261b3828b4dd654fb22a48b24808e (patch)
tree5ba7ebce88b6aac182c27a62afcab6c07b8bac71 /vim/.vimrc
parentb5e08c7f88afef0747e1e88dfc91e18ab3a32390 (diff)
parent9fe0ad06d4ce048fc24c4c1b102f26154457984a (diff)
Merge branch 'ursa_minor'
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 9077239..1fc49ff 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -18,8 +18,16 @@ set listchars=eol:\ ,tab:\|\ ,trail:~,extends:>,precedes:<,space:ยท
map K i<enter><esc>
map W <esc>:WordCount<enter>
-colorscheme default
+colorscheme moonfly
au BufRead,BufNewFile *.go set filetype=go
+au BufRead,BufNewFile *.ldg set filetype=ledger
-set statusline+=%{WordCount#WordCount()}
+function LedgerSort()
+ :%! ledger -f - print --sort 'date, amount'
+ :%LedgerAlign
+ :%s/^ /\t/g
+endfunction
+command LedgerSort call LedgerSort()
+
+filetype plugin on