]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: also set g:is_posix in addition to g:sh_is_posix
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index c9726f2bbcfc6e85b5e19bded501f4b55a350713..e8f19ff6c6cc38cd93b3b37e64384306e2443f1a 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -895,6 +895,7 @@ if has('syntax')
     " Shell
     let g:sh_noisk = 1        " don't add . to 'iskeyword'
     let g:sh_is_posix = 1     " POSIX shell (e.g. dash) is compatible enough
+    let g:is_posix = 1        " POSIX shell (e.g. dash) is compatible enough
     let g:sh_fold_enabled = 7 " functions (1), heredoc (2) and if/do/for (4)
     " Vim
     let g:vimsyn_embed = 0      " don't highlight embedded languages
@@ -922,6 +923,10 @@ if has('eval')
                                               \ 'sw', 'sts', 'noet']
     endif
 
+" Settings for gnupg.
+    " Don't use temporary files for sensitive data.
+    let g:GPGUsePipes = 1
+
 " Settings for the NERD commenter.
     " Don't create any mappings I don't want to use.
     let g:NERDCreateDefaultMappings = 0