Skip to content

Commit

Permalink
NeoVim does not support encryption; use vim-huge
Browse files Browse the repository at this point in the history
  • Loading branch information
sunaku committed Jan 1, 2016
1 parent 7204686 commit 9dd5209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/edit-encrypted-file
@@ -1,7 +1,7 @@
#!/bin/sh
#!/bin/sh -e
# Written in 2012 by Suraj N. Kurapati <https://github.com/sunaku>
vim --version | fgrep -q '+cryptv' &&
vim -u NONE -c "set $(tr '\n' ' ' <<SETTINGS)" -c 'colorscheme desert' "$@"
vim-huge --version | fgrep -q '+cryptv'
vim-huge -u NONE -c "set $(tr '\n' ' ' <<SETTINGS)" -c 'colorscheme desert' "$@"
nocompatible
secure
viminfo=
Expand All @@ -10,7 +10,7 @@ vim -u NONE -c "set $(tr '\n' ' ' <<SETTINGS)" -c 'colorscheme desert' "$@"
noshelltemp
nobackup
nowritebackup
cryptmethod=blowfish
cryptmethod=blowfish2
foldmethod=marker
foldlevel=0
background=$(cat ~/.theme)
Expand Down

0 comments on commit 9dd5209

Please sign in to comment.