aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2016-07-07 16:34:02 +0500
committerAnton Bobov <abobov@gmail.com>2016-07-07 16:34:02 +0500
commita47e64785d1b5d96157a8eb2598e2e1e38d08412 (patch)
treeee3360f61a6acd3662d7167cab6c6b94ca455b62 /files
parent8ebeadcb0b32ab7b2a9cfd5a43332181e6c48406 (diff)
[vim] Limit ledger mapping to ledger files.
Diffstat (limited to 'files')
-rw-r--r--files/.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/.vimrc b/files/.vimrc
index 527833d..5af1950 100644
--- a/files/.vimrc
+++ b/files/.vimrc
@@ -324,7 +324,7 @@ augroup END
" Ledger {{{
augroup ft_ledger
au!
- inoremap <silent><buffer> <Leader>e <Esc>:call ledger#entry()<CR>
+ au FileType ledger inoremap <silent><buffer> <Leader>e <Esc>:call ledger#entry()<CR>
augroup END
" }}}
" }}}