diff options
| author | Anton Bobov <abobov@gmail.com> | 2016-01-15 22:52:27 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2016-01-18 15:53:55 +0500 |
| commit | 21b5c91d4c61aecd31bce6360a5d1489981ef1ba (patch) | |
| tree | 7f20bebd9ddf17889506fbf588e38d406b9abc38 /files | |
| parent | c8fb5e7cb19f78642e4921774dc17d4d7d99ea2e (diff) | |
Open ledger file at the end and change template date format.
Diffstat (limited to 'files')
| -rw-r--r-- | files/.vim/snippets/ledger.snippets | 2 | ||||
| -rw-r--r-- | files/.vimrc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/files/.vim/snippets/ledger.snippets b/files/.vim/snippets/ledger.snippets index a77262f..59fc860 100644 --- a/files/.vim/snippets/ledger.snippets +++ b/files/.vim/snippets/ledger.snippets @@ -1,4 +1,4 @@ snippet ent - `system("date +%m-%d")` ${1:transaction} + `system("date +%F")` ${1:transaction} ${2:account} ${3:vaule} R ${4} diff --git a/files/.vimrc b/files/.vimrc index 620db56..ace756a 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -191,6 +191,7 @@ if has('autocmd') au BufReadPost * if line("'\.") > 0 && line("'\.") <= line("$") | exe 'normal g`.zvzz' | endif au BufRead,BufNewFile /etc/nginx/* if &ft == "" | setfiletype nginx | endif + au BufReadPost *.ledger norm G endif " }}} " Mappings {{{ |
