These commands work in command mode. Esc is used to exit insert mode and enter command mode. 1. Move Cursor j - down k - up h - left l - right 8j - 8 lines down 8k - 8 lines up gg - top G - bottom w - move forward one word b - move backward one...

Markdown supported · ⌘↵ to post
Harshit Saini
Chau Giang
You can exit and save the file with ZZ, you can learn more about it here: vi.stackexchange.com/questions/5723/what-are-the-…