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 - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -