Tag Archives: vim

vim – quick summary

Below is a quick summary of basic vim commands as found in vim tutor when running ‘vimtutor’. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lesson 1 SUMMARY 1. The cursor is moved using either the arrow keys or the hjkl keys. h (left)       j (down)       k (up)       l (right) 2. To start Vim from the shell prompt type:  vim FILENAME <ENTER> 3. To exit Vim type:     <ESC>   :q!   <ENTER>  to trash all changes. OR type:      <ESC>   :wq   <ENTER>  to save the changes. 4. To delete the character at the cursor type:  x 5. To insert or append text type: i   type inserted text   <ESC>         insert before […]