gpg.vim : it seems that this inspired another much better script: gnupg.vim
script karma |
Rating 25/28,
Downloaded by 693 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Guang Liu |
|
script type |
utility |
|
description |
As I know little about vim scripts, this was just a thought which proved convenient for me. But I just noticed there's a new plugin called 'gnupg.vim' after this which is much better. Please download that instead. I tried to delete this from the server.
This little plugin helps to edit "gpg" encrypted files. I use this because it's more convenient when you do not have GUI encrypt tools.
How to use:
just name the file with .gpg suffix, e.g. "something.gpg" and
vi -u ~/.vim/gpg.vim something.gpg |
|
install details |
1. download and setup "gpg" ( see docs for gpg )
2. setup your key for gpg, get the user name for the key, e.g. "user@domain"
2. create two little scripts called "dgpg" and "egpg" and put them in your PATH.
in "dgpg":
#!/bin/sh
gpg -d 2>/dev/null
in "egpg":
#!/bin/sh
gpg -e -r user@domain
# where user@domain is the user specified when you create your gpg key
3. drop gpg.vim in your ~/.vim/ directory |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.119.118.99
|