Mercurial > vim
annotate runtime/macros/README.txt @ 17164:7927cf327396 v8.1.1581
patch 8.1.1581: shared functions for testing are disorganised
commit https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 23 00:50:15 2019 +0200
patch 8.1.1581: shared functions for testing are disorganised
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4573)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Jun 2019 01:00:05 +0200 |
parents | a345060d671a |
children |
rev | line source |
---|---|
7 | 1 The macros in the maze, hanoi and urm directories can be used to test Vim for |
2 vi compatibility. They have been written for vi to show its unlimited | |
3 possibilities. The life macros can be used for performance comparisons. | |
4 | |
5 hanoi Macros that solve the tower of hanoi problem. | |
6 life Macros that run Conway's game of life. | |
7 maze Macros that solve a maze (amazing!). | |
8 urm Macros that simulate a simple computer: "Universal Register Machine" | |
9 | |
10 | |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
11 |
7 | 12 The other files contain some handy utilities. They also serve as examples for |
13 how to use Vi and Vim functionality. | |
14 | |
15 less.sh + less.vim make Vim work like less (or more) | |
589 | 16 |
17 | |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
18 |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
19 The following have been moved to an optional package. Add the command to your |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
20 vimrc file to use the package: |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
21 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
22 packadd! dvorak " Dvorak keyboard support; adds mappings |
8769
7ac9d9e98892
commit https://github.com/vim/vim/commit/2946d0236dc9e23ec0050feacdb959b9ae5672a8
Christian Brabandt <cb@256bit.org>
parents:
8767
diff
changeset
|
23 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
24 packadd! editexisting " when editing a file that is already edited with |
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
25 " another Vim instance, go to that Vim instance |
8769
7ac9d9e98892
commit https://github.com/vim/vim/commit/2946d0236dc9e23ec0050feacdb959b9ae5672a8
Christian Brabandt <cb@256bit.org>
parents:
8767
diff
changeset
|
26 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
27 packadd! justify " justifying text. |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
28 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
29 packadd! matchit " makes the % command work better |
8773
08944b17c29c
commit https://github.com/vim/vim/commit/e101204906e10f1e100e2f9017985c61f26b03ac
Christian Brabandt <cb@256bit.org>
parents:
8771
diff
changeset
|
30 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
31 packadd! shellmenu " menus for editing shell scripts in the GUI version |
8775
d5136647ce31
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Christian Brabandt <cb@256bit.org>
parents:
8773
diff
changeset
|
32 |
8777
a345060d671a
commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents:
8775
diff
changeset
|
33 packadd! swapmouse " swap left and right mouse buttons |