summaryrefslogtreecommitdiffstats
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-16 22:32:54 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-16 22:32:54 +0200
commit40e6a71c6777242a254f1748766aa0e60764ebb3 (patch)
tree84774ebf0fd3986a456cebd716d847d4e8496a20 /runtime/doc/options.txt
parent64486671c3fcc75698c57732c50865ad0573b3fe (diff)
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index f1785bb854..da0ef5bf9e 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2049,6 +2049,19 @@ A jump table for the options with a short description can be found at |Q_op|.
with system specific functions.
+ *'cryptmethod'* *'cm'*
+'cryptmethod' number (default 0)
+ local to buffer
+ {not in Vi}
+ Method used for encryption when the buffer is written to a file:
+ 0 PkZip compatible method. A weak kind of encryption.
+ backwards compatible with Vim 7.2 and older.
+ 1 Blowfish method. Strong encryption. Not compatible
+ with Vim 7.2 and older.
+ When reading an encrypted file 'cryptmethod' will be set automatically
+ to detected method for the file being read.
+
+
*'cscopepathcomp'* *'cspc'*
'cscopepathcomp' 'cspc' number (default 0)
global
@@ -4141,7 +4154,7 @@ A jump table for the options with a short description can be found at |Q_op|.
local to buffer
{not in Vi}
The key that is used for encrypting and decrypting the current buffer.
- See |encryption|.
+ See |encryption| and 'cryptmethod'.
Careful: Do not set the key value by hand, someone might see the typed
key. Use the |:X| command. But you can make 'key' empty: >
:set key=