Add beancount to vim

This commit is contained in:
Hunter Haugen 2021-12-12 16:02:57 -08:00
parent d9dba32490
commit f20e2d4c3d
Signed by: hunner
GPG key ID: EF99694AA599DDAD

View file

@ -88,6 +88,7 @@ Plug 'tpope/vim-speeddating'
Plug 'zpieslak/vim-autofix' Plug 'zpieslak/vim-autofix'
Plug 'juvenn/mustache.vim' Plug 'juvenn/mustache.vim'
Plug 'github/copilot.vim' Plug 'github/copilot.vim'
Plug 'hunner/vim-beancount'
call plug#end() call plug#end()
" Because. " Because.
@ -127,6 +128,10 @@ noremap <Leader>gh :Gbrowse<CR>
" Edit a file in the same directory as the current buffer " Edit a file in the same directory as the current buffer
noremap <Leader>e :e %:p:h/ noremap <Leader>e :e %:p:h/
let g:beancount_separator_col = 60
nnoremap <buffer> <leader>= :AlignCommodity<CR>
vnoremap <buffer> <leader>= :AlignCommodity<CR>
" --column: Show column number " --column: Show column number
" --line-number: Show line number " --line-number: Show line number
" --no-heading: Do not show file headings in results " --no-heading: Do not show file headings in results