Friday, March 28, 2014

vim usage quiz - level 2 Feel comfortable

Just want to help remembering commands. Answers are in this good article, Learn Vim Progressively.

1. How to insert after current cursor?
2. How to insert a new line after the current one?
3. How to insert a new line before current one?
4. How to replace the characters from current cursor to the end of this word?
5. How to move cursor to the first column?
6. How to move cursor to the first non-blank character of the line?
7. How to move cursor to the end of the line?
8. How to move cursor to the last non-blank character of the line?

9. How to search for text from start to end?
10. How to search for text from end to start?
11. How to move to next occurrence forwards when searching for text from start to end?
12. How to move to next occurrence backwards when searching for text from start to end?
13. How to move to next occurrence forwards when searching for text from end to start?
14. How to move to next occurrence backwards when searching for text from end to start?

15. How to paste before current cursor?
16. How to copy the current line?
17. How to undo?
18. How to redo?
19. How to open another file?
20. how to save but don't quit currently editing file?
21. How to quit without saving?
22. How to show the next file in buffer?


1 comment:

  1. Question 1:
    Insert text after cursor can be called append...
    a - append
    A - append text after the last character of the line.

    ReplyDelete