# Enable Beancount Accounts Completion in Vim ## Metadata **Status**:: #x **Zettel**:: #zettel/permanent **Created**:: [[2023-09-09]] **Topic**:: [[♯ Vim]] **Parent**:: [[Beancount]] ## Synopsis First ensure to use the python environment which has installed beancount and pynvim. Steps to force nvim using the virtual env: > [!file] .envrc ```sh layout python-shared python3 use vim export PYTHONPATH=. ``` > [!file] .vimrc.local ```vim let g:python3_host_prog = $VIRTUAL_ENV . '/bin/python3' ```