Skip to content

Instantly share code, notes, and snippets.

Avatar

Medhat Omr momr

View GitHub Profile
View gist:1025ccf205fd8d3642ef59e986867a6c
Lesson 1 SUMMARY
1. The cursor is moved using either the arrow keys or the hjkl keys.
h (left) j (down) k (up) l (right)
2. To start Vim from the shell prompt type: vim FILENAME <ENTER>
3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes.
OR type: <ESC> :wq <ENTER> to save the changes.
You can’t perform that action at this time.