Skip to content

Vim plugin for encrypt/decrypt sops files on the fly without leaving your vi session

Notifications You must be signed in to change notification settings

jsecchiero/vim-sops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

vim-sops

Vim plugin for encrypt/decrypt sops files on the fly without leaving your vi session

prerequisite

require +clientserver in your vim (check it with vi --version)

take care that wildignore doesn't have /tmp otherwise this will not work
sops use tmp to store temporary decrypted files. check with

set wildignore?

install

git clone https://github.com/jsecchiero/vim-sops.git ~/.vim/pack/plugins/start/vim-sops

configure

sops files can vary in extension and filename, the default file are "{sops-*,*.sops,*secret*}"

let g:sops_files_match = "{sops-*,*.sops,*secret*}"

tips

you can specify a env at runtime in vim with:

let $AWS_PROFILE="admin-prod"

About

Vim plugin for encrypt/decrypt sops files on the fly without leaving your vi session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published