How to use vim in the terminal?
macos, terminal, vim
Solution
Run `vim` from the terminal. For the basics, you're advised to run the command `vimtutor`.
# On your terminal command line:
$ vim
If you have a specific file to edit, pass it as an argument.
$ vim yourfile.cpp
Likewise, launch the tutorial
$ vimtutor
Problem
How does one setup and start using vim in the terminal on OS X? I want to start writing my C code using vim in the terminal rather than a separate text editor. How does one get started on this? The basics like: opening, creating, saving files via terminal using vim and writing code using vim. Also, does one compile directly using vim in the terminal?