Mercurial > vim
view runtime/macros/README.txt @ 3736:dc65e6429d2c v7.3.627
updated for version 7.3.627
Problem: When using the "n" flag with the ":s" command a \= substitution
will not be evaluated.
Solution: Do perform the evaluation, so that a function can be invoked at
every matching position without changing the text. (Christian
Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 08 Aug 2012 16:51:15 +0200 |
parents | bc49ed25543d |
children | 9380c37723f8 |
line wrap: on
line source
The macros in the maze, hanoi and urm directories can be used to test Vim for vi compatibility. They have been written for vi to show its unlimited possibilities. The life macros can be used for performance comparisons. hanoi Macros that solve the tower of hanoi problem. life Macros that run Conway's game of life. maze Macros that solve a maze (amazing!). urm Macros that simulate a simple computer: "Universal Register Machine" The other files contain some handy utilities. They also serve as examples for how to use Vi and Vim functionality. dvorak for when you use a Dvorak keyboard justify.vim user function for justifying text matchit.vim + matchit.txt make % match if-fi, HTML tags, and much more less.sh + less.vim make Vim work like less (or more) shellmenu.vim menus for editing shell scripts in the GUI version swapmous.vim swap left and right mouse buttons editexisting.vim when editing a file that is already edited with another Vim instance This one is only for Unix. It can be found in the extra archive: file_select.vim macros that make a handy file selector