Mercurial > vim
annotate runtime/macros/README.txt @ 8771:57cafbda13ad v7.4.1674
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 21:04:37 2016 +0200
patch 7.4.1674
Problem: The editexisting plugin has to be copied or sourced to be used.
Solution: Turn it into a package.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 21:15:06 +0200 |
parents | 7ac9d9e98892 |
children | 08944b17c29c |
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 | |
11 The other files contain some handy utilities. They also serve as examples for | |
12 how to use Vi and Vim functionality. | |
13 | |
14 less.sh + less.vim make Vim work like less (or more) | |
589 | 15 |
7 | 16 shellmenu.vim menus for editing shell scripts in the GUI version |
589 | 17 |
7 | 18 swapmous.vim swap left and right mouse buttons |
19 | |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
20 editexisting.vim |
589 | 21 |
8720
9380c37723f8
commit https://github.com/vim/vim/commit/aedfcbe1e6c7df6edcd6756d7601bfdec7dd2087
Christian Brabandt <cb@256bit.org>
parents:
589
diff
changeset
|
22 This one is only for Unix. |
7 | 23 file_select.vim macros that make a handy file selector |
8720
9380c37723f8
commit https://github.com/vim/vim/commit/aedfcbe1e6c7df6edcd6756d7601bfdec7dd2087
Christian Brabandt <cb@256bit.org>
parents:
589
diff
changeset
|
24 |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
25 |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
26 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
|
27 vimrc file to use the package: |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
28 |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
29 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
|
30 |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
31 packadd! editexisting when editing a file that is already edited with |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
32 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
|
33 |
8771
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
34 packadd! justify justifying text. |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
35 |
57cafbda13ad
commit https://github.com/vim/vim/commit/cf2d8dee5117b9add3a3f5fc91b3569437e7d359
Christian Brabandt <cb@256bit.org>
parents:
8769
diff
changeset
|
36 packadd! matchit makes the % command work better |