The VI FAQ

Table of Contents


5.0 - Silly vi tricks, and silly macros

This section is for silly vi tricks, and silly macros. Actually, any interesting vi tricks and macros are acceptable, as long as they are not too lengthy. I will add any that are suggested to me that I think are reasonable.

5.1 - Silly vi tricks

xp This will delete the character under the cursor, and put it afterwards. In other words, it swaps the location of two characters. ddp Similar to xp, but swapping lines. uu Undo and redo last change. (This will take you to the last modification to the file without changing anything.)

5.2 - Silly macros

None at the moment, suggest some.


{HOME}    Send your comments, suggestions, flames, and praise to: Webmaster@roxanne.org