annotate runtime/macros/README.txt @ 24220:a7a9176bb542 v8.2.2651

patch 8.2.2651: Vim9: restoring command modifiers happens after jump Commit: https://github.com/vim/vim/commit/a91a71322dc2e6a1640e73b6da1f1a2f94f39a54 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 25 21:12:15 2021 +0100 patch 8.2.2651: Vim9: restoring command modifiers happens after jump Problem: Vim9: restoring command modifiers happens after jump. Solution: Move the restore instruction to before the jump. (closes https://github.com/vim/vim/issues/8006) Also handle for and while.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Mar 2021 21:15:04 +0100
parents a345060d671a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 The macros in the maze, hanoi and urm directories can be used to test Vim for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 vi compatibility. They have been written for vi to show its unlimited
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 possibilities. The life macros can be used for performance comparisons.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 hanoi Macros that solve the tower of hanoi problem.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 life Macros that run Conway's game of life.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 maze Macros that solve a maze (amazing!).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 urm Macros that simulate a simple computer: "Universal Register Machine"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
8777
a345060d671a commit https://github.com/vim/vim/commit/0b9e4d1224522791c0dbbd45742cbd688be823f3
Christian Brabandt <cb@256bit.org>
parents: 8775
diff changeset
11
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 The other files contain some handy utilities. They also serve as examples for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 how to use Vi and Vim functionality.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 less.sh + less.vim make Vim work like less (or more)
589
bc49ed25543d updated for version 7.0167
vimboss
parents: 7
diff changeset
16
bc49ed25543d updated for version 7.0167
vimboss
parents: 7
diff changeset
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