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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -