Add beancount to vim
This commit is contained in:
parent
d9dba32490
commit
f20e2d4c3d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue