WEEK FOUR (4) EXPERIENCE AT BLOCKFUSE LABS
The said week has been an interesting week for me which opened my mind to new ways of operating the vim editor from within itself. Though I could not keep up with the class at 100% within the week because of unforseen circumstances, here is a summary of what i was able to learn and do
I learnt the following commands and their functions
1. q! - exit without saving
2. dw - delete word
3. esc - takes you to Normal mode
4. :set number - inserts numbers on your lines of code
5. :set nonumber - removes numbers from code lines
6. gg - takes cursor to line 1
7. G - takes cursor to last line of code
8. dd - deletes a whole line
9. x - deletes unwanted single character
10.%a - indicates an active file
11. y - yanking (copy)
12. ! - used to initiate a command that is not inbuilt in Vim
13. :r - reads desired filename
14. :buffers - shows how many files are running
15. :bp - takes you to the previous file
16. :bn - takes you to the next file
17. :!./filename.ext executes the file
18. :sp - splits the terminal window to allow you work with several files at the same time
19. ctrl + ww - sitches between the files in split screen
20. vsplit - vertical split
21. sort ui - arranges items in Alphabetical order
22. u - undo
23. ctrl+R - redo
24. k - up direction
25. j - down direction
26. l - left direction
27. h - right
Macros
q - record/stop recording
a - register
r - replace
f - find
gUl - capital letter
We also delived into learning Python too.