Master Vi Editor to free up an entire month every year
This Bootcamp is a complete hands-on program to take you
Through this journey of transforming you from
the one who fears Vi to the one who loves Vi.
Although at first Vi looks very scary and unfriendly,
In no less than a couple of hours of understanding it, you will find that
Vi a piece of cake to not only learn, but also to master.
You will not only become comfortable with Vi editor, but will also
Learn techniques to master Vi editor.
One day online session scheduled for Wednesday, 25 Dec, 2023
Accomplish tasks similar to the ones listed below with some simple set of keystrokes in Vi editor :
➢ Jump to the end of the matching closing bracket in your code
➢ Restore the file to the original state as it was first opened for editing
➢ Move exactly one screen of lines down the file while you still keep the cursor on the centre line
➢ Delete exactly 3 words in a comment in your code
➢ Show only the function or class definitions present in a file
➢ Move between a series of log files without ever closing the editor
➢ Comment out the below 20 lines
➢ Repeat the previous change in other 10 lines below
➢ Modify only the next two parameters in a function call
➢ Add exactly 2 new lines after every Chapter title in a book
➢ View the contents of a file that is "#include"ed in a C program
➢ Repeat the changes done in one configuration file, in other 5 files
➢ Change all parameters of a function, except the first 2
➢ Selectively replace only few instances of a "good" to "great" that repeats multiple times in a file
➢ Do a combination of the above commands with a single key stroke !!!
Session 1
1. Introduction to Vi
2. Vi Modes
3. Controlling the cursor
4. Most common Vi commands
5. Configuring Vi
Session 2
6. Editing Multiple files
7. Search and Replace
8. Inserting Text
9. Advanced Vi commands
10. Open House (Ask anything you want)