Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. Lesson 1 SUMMARY
  2.  
  3.  
  4. 1. The cursor is moved using either the arrow keys or the hjkl keys.
  5. h (left) j (down) k (up) l (right)
  6.  
  7. 2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
  8.  
  9. 3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
  10. OR type: <ESC> :wq <ENTER> to save the changes.
  11.  
  12. 4. To delete the character at the cursor type: x
  13.  
  14. 5. To insert or append text type:
  15. i type inserted text <ESC> insert before the cursor
  16. A type appended text <ESC> append after the line
  17.  
  18. NOTE: Pressing <ESC> will place you in Normal mode or will cancel
  19. an unwanted and partially completed command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement