home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: list Chapter 9
The Ex Editor
Next: Reference: mark





] [





Define a keyboard macro named char as the specified sequence of commands. char is usually a single character, or the sequence # n , representing a function key on the keyboard. Use a ! to create a macro for input mode. With no arguments, list the currently defined macros.


:map K dwwP	
Transpose two words

:map q :w^M:n^M	
Write current file; go to next

:map! + ^[bi(^[ea)	
Enclose previous word in parentheses

Previous: Reference: list UNIX in a Nutshell: System V Edition Next: Reference: mark
Reference: list Book Index Reference: mark

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System