osx - How to switch to edit mode of vi on mac terminal -


i new mac, trying edit .gitignore file macbook terminal, type

 vi .gitignore 

it opens file not letting me switch edit mode. how vi switches mode on mac ?

on mac can more correctly type vim (vi improved) instead :)

same everywhere, i switches "insert" mode , esc switches command mode.

a learning resource vim included in mac. type vimtutor , teach how use vim effectively.

another editing option on mac nano command line text editor easier familiar textedit/notepad.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -