UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 31.2 Save Time and Typing with the vi map Commands Chapter 31
Creating Custom Commands in vi
Next: 31.4 vi @-Functions
 

31.3 What You Lose When You Use map!

Back in the old days (when bread cost five cents and my grandfather was just a boy...) a terminal's arrow keys didn't work during vi text-input mode. To move around in the file, you pressed ESC and used command-mode commands like 5k and 4w. Since then, lots of vendors and users have modified vi so that you can use arrow keys during text-input mode. In fact, we show you how to do it yourself in articles 31.2 and 31.13. These days, lots of folks think the newfangled way that vi works is the right way. Here are some reasons to leave the arrow keys alone and do it the old way instead:

- JP


Previous: 31.2 Save Time and Typing with the vi map Commands UNIX Power ToolsNext: 31.4 vi @-Functions
31.2 Save Time and Typing with the vi map Commands Book Index31.4 vi @-Functions

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