Use your plugin manager of choice.
- Pathogen
git clone https://github.com/rm-you/vim-vault-inline ~/.vim/bundle/vim-vault-inline
- Vundle
- Add
Bundle 'https://github.com/rm-you/vim-vault-inline'
to .vimrc - Run
:BundleInstall
- Add
- NeoBundle
- Add
NeoBundle 'https://github.com/rm-you/vim-vault-inline'
to .vimrc - Run
:NeoBundleInstall
- Add
- vim-plug
- Add
Plug 'https://github.com/rm-you/vim-vault-inline'
to .vimrc - Run
:PlugInstall
- Add
Set the variable VAULT_PASSWORD_FILE
in your environment to the absolute
path of your ansible-vault password file.
Use the command :VaultEncryptionToggle when the cursor is inside a multi-line yaml block. The author recommends adding a binding to your vimrc, like:
nmap ,v :VaultEncryptionToggle<CR>
- Write tests
- Write documentation