aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/functions
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-20 11:56:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-20 11:56:37 -0300
commitc2258daf2beb025e599ffaa1cbaf122506953abc (patch)
tree6e0add2b19a5f4e5802dc6437f4528cd66c7b9f0 /lib/keyringer/functions
parentc52749a15486d05f477fcbf5ef27528be15869cb (diff)
downloadkeyringer-c2258daf2beb025e599ffaa1cbaf122506953abc.tar.gz
keyringer-c2258daf2beb025e599ffaa1cbaf122506953abc.tar.bz2
Use a custom .vimrc so VIM command line is not messed with quotes (#50)
Diffstat (limited to 'lib/keyringer/functions')
-rwxr-xr-xlib/keyringer/functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyringer/functions b/lib/keyringer/functions
index 50d01db..fdd8439 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -287,7 +287,7 @@ function keyringer_set_env {
# Avoid viminfo, see https://keyringer.pw/trac/ticket/50
if $EDITOR --help | grep -q -e "^VIM"; then
if ! echo $EDITOR | grep -q -- "-i NONE"; then
- EDITOR="$EDITOR -i NONE '+set nowritebackup' '+set nobackup'"
+ EDITOR="$EDITOR -S `dirname $LIB`/editors/vim"
fi
fi