Wednesday, July 20, 2016

Vim tutorial: Made Easy

Some quick basics on working with your file.
  • vi file: open your file in vim
  • :w: write your changes to the file
  • :q!: get out of vim (quit), but without saving your changes (!)
  • :wq: write your changes and exit vim
  • :saveas ~/some/path/: save your file to that locationvim
NOTE: While :wq works I tend to use ZZ, which doesn’t require the “:” and just seems faster to me. You can also use :x ]
  • ZZ: a faster way to do :wq

Resource Link:



Best Vidoe Tutorial: Step by Step



All commands at a glance:



Practice Here: 




No comments:

Post a Comment