Mercurial > vim
comparison runtime/doc/editing.txt @ 7659:07f11de5efca
commit https://github.com/vim/vim/commit/85084ef1e999dcf50e8d466106a33bac24a0febb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 17 22:26:33 2016 +0100
Update help files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jan 2016 22:30:06 +0100 |
parents | a49163681559 |
children | 93f747af7b58 |
comparison
equal
deleted
inserted
replaced
7658:fc6d585a9726 | 7659:07f11de5efca |
---|---|
1 *editing.txt* For Vim version 7.4. Last change: 2016 Jan 03 | 1 *editing.txt* For Vim version 7.4. Last change: 2016 Jan 17 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
637 command new argument list ~ | 637 command new argument list ~ |
638 :argadd x a b x c | 638 :argadd x a b x c |
639 :0argadd x x a b c | 639 :0argadd x x a b c |
640 :1argadd x a x b c | 640 :1argadd x a x b c |
641 :$argadd x a b c x | 641 :$argadd x a b c x |
642 And after the last one: | |
642 :+2argadd y a b c x y | 643 :+2argadd y a b c x y |
643 There is no check for duplicates, it is possible to | 644 There is no check for duplicates, it is possible to |
644 add a file to the argument list twice. | 645 add a file to the argument list twice. |
645 The currently edited file is not changed. | 646 The currently edited file is not changed. |
646 {not in Vi} {not available when compiled without the | 647 {not in Vi} {not available when compiled without the |
1456 using zip, "[blowfish]" when using blowfish, etc. | 1457 using zip, "[blowfish]" when using blowfish, etc. |
1457 | 1458 |
1458 When writing an undo file, the same key and method will be used for the text | 1459 When writing an undo file, the same key and method will be used for the text |
1459 in the undo file. |persistent-undo|. | 1460 in the undo file. |persistent-undo|. |
1460 | 1461 |
1462 To test for blowfish support you can use these conditions: > | |
1463 has('crypt-blowfish') | |
1464 has('crypt-blowfish2') | |
1465 This works since Vim 7.4.1099 while blowfish support was added earlier. | |
1466 Thus the condition failing doesn't mean blowfish is not supported. You can | |
1467 test for blowfish with: > | |
1468 v:version >= 703 | |
1469 And for blowfish2 with: > | |
1470 v:version > 704 || (v:version == 704 && has('patch401')) | |
1471 < | |
1461 *E817* *E818* *E819* *E820* | 1472 *E817* *E818* *E819* *E820* |
1462 When encryption does not work properly, you would be able to write your text | 1473 When encryption does not work properly, you would be able to write your text |
1463 to a file and never be able to read it back. Therefore a test is performed to | 1474 to a file and never be able to read it back. Therefore a test is performed to |
1464 check if the encryption works as expected. If you get one of these errors | 1475 check if the encryption works as expected. If you get one of these errors |
1465 don't write the file encrypted! You need to rebuild the Vim binary to fix | 1476 don't write the file encrypted! You need to rebuild the Vim binary to fix |