.. include:: global.rst ******************* Using Vim ******************* .. list-table:: Vim Modes :header-rows: 1 * - Mode - Description * - Normal - Default; for navigation and simple editing * - Insert - For explicityly inserting and modifying text * - Command Line - For operations like saving, exiting, etc. Create a file: vim filename.extension Use "include" to enter insert mode Use "esc" to enter normal mode Use ":" to enter command line mode Command Line Mode ---------------------- : set number to add line numbers :number to go to that line :$ to got to end of the file :x! to save and close :q! close without saving :/keyword is how you search (case sensitive) hit the "n" key to move to the next instance of the keyword. Normal Mode ----------------- got to line and hit "dd" to delete the whole line hit "u" and the deleted line will return