function s:init() vmap s :call abook#sum() endfunction autocmd BufNewFile,BufRead account.txt call s:init()