Why Type More Than You Have To?
Save Time and Typing with the vi map Commands
What You Lose When You Use map!
Keymaps for Pasting into a Window Running vi
Protecting Keys from Interpretation by ex
Maps for Repeated Edits
More Examples of Mapping Keys in vi
Good Stuff for Your .exrc File
Repeating a vi Keymap
Typing in Uppercase Without CAPS LOCK
Text-Input Mode Cursor Motion with No Arrow Keys
Making Cursor Keys Work in vi Text-input Mode
Don't Lose Important Functions with vi Maps: Use noremap
Fooling vi into Allowing Complex Macros
vi Macro for Splitting Long Lines
Keymapping - storing complex command sequences so that they can be executed with a single keystroke - is one of my favorite timesavers. There's nothing like typing one key and watching a whole string of work take place. For repetitive edits (e.g., font changes) it's a real wrist-saver, too. In this chapter we show you how to:
Know when to map a key and when not to: article 31.3.
Map keys like ESC and RETURN: article 31.6.
Protect the text you're pasting in from another window: article 31.5.
Break long lines of text: article 31.16.