summaryrefslogtreecommitdiff
path: root/gnu/packages/vim.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-12-21 15:24:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-12-21 16:22:51 +0200
commit49546b6b8c662d8b02b1d1671004e3c24a674b8a (patch)
treee7e9c44db0df3082b61c6738bf64fb2995483511 /gnu/packages/vim.scm
parent2c067089d786234af65a6ffa8f91274160806ef1 (diff)
gnu: Add vim-gnupg.
* gnu/packages/vim.scm (vim-gnupg): New variable.
Diffstat (limited to 'gnu/packages/vim.scm')
-rw-r--r--gnu/packages/vim.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 642384adfc..375b0e3694 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1115,6 +1115,36 @@ quotes, XML tags, and more. The plugin provides mappings to easily delete,
change and add such surroundings in pairs.")
(license license:vim)))
+(define-public vim-gnupg
+ (package
+ (name "vim-gnupg")
+ (version "2.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/jamessan/vim-gnupg/releases/"
+ "download/v" version
+ "/vim-gnupg-v" version ".tar.gz"))
+ (sha256
+ (base32 "02w8lgyyh7wgxysvmmcf9ja5c06vrbyh3alzvv97x8cfhrp0skn7"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan
+ '(("autoload" "share/vim/vimfiles/")
+ ("doc" "share/vim/vimfiles/")
+ ("plugin" "share/vim/vimfiles/"))))
+ (home-page "https://www.vim.org/scripts/script.php?script_id=3645")
+ (synopsis "Vim plugin for transparent editing of gpg encrypted files")
+ (description
+ "This script implements transparent editing of gpg encrypted files. The
+filename must have a @code{.gpg}, @code{.pgp} or @code{.asc} suffix. When
+opening such a file the content is decrypted, and the content will be encrypted
+to all recipients before it is written. This script turns off viminfo,
+swapfile, and undofile when editing encrypted files to increase security.")
+ (properties
+ '((release-monitoring-url . "https://github.com/jamessan/vim-gnupg/releases")))
+ (license license:gpl2+)))
+
(define-public vim-ctrlp
(package
(name "vim-ctrlp")