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

Learning the vi Editor

Learning the vi EditorSearch this book
Previous: D.3 Problems Getting to Visual Mode Appendix D
Problem Checklist
Next: D.5 Problems with Deletions
 

D.4 Problems with vi Commands

  • When you type commands, text jumps around on the screen and nothing works the way it's supposed to.

    You may have hit the [CAPS LOCK] key without noticing it. vi is case-sensitive. That is, uppercase commands ( I , A , J , etc.) are different from lowercase commands ( i , a , j ), so all your commands are being interpreted not as lowercase but as uppercase commands. Press the [CAPS LOCK] key again to return to lowercase, then type either U to restore the last line changed or u to undo the last command. You'll probably also have to do some additional editing to fully restore the garbled part of your file.


Previous: D.3 Problems Getting to Visual Mode Learning the vi Editor Next: D.5 Problems with Deletions
D.3 Problems Getting to Visual Mode Book Index D.5 Problems with Deletions

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










??????????????@Mail.ru