*'cryptmethod'* *'cm'*
-'cryptmethod' 'cm' string (default "zip")
+'cryptmethod' 'cm' string (default "blowfish2")
global or local to buffer |global-local|
{not in Vi}
Method used for encryption when the buffer is written to a file:
modifications. Also see |:X|.
When setting the global value to an empty string, it will end up with
- the value "zip". When setting the local value to an empty string the
- buffer will use the global value.
+ the value "blowfish2". When setting the local value to an empty
+ string the buffer will use the global value.
When a new encryption method is added in a later version of Vim, and
the current version does not recognize it, you will get *E821* .
{"cryptmethod", "cm", P_STRING|P_ALLOCED|P_VI_DEF,
#ifdef FEAT_CRYPT
(char_u *)&p_cm, PV_CM,
- {(char_u *)"zip", (char_u *)0L}
+ {(char_u *)"blowfish2", (char_u *)0L}
#else
(char_u *)NULL, PV_NONE,
{(char_u *)0L, (char_u *)0L}