I think you should first know that VI / VIM is actually two parts. One of them is a visual editor called vi, and the other is an editor with one layer called ed.
vi , ed (editor). ex-, , vi .
ex / ed. ed Vi ex . vi , . , , , :
:100 // Go to line 100, ex mode (ed)
100G // Go to line 100, normal mode(vi)
:.,5d // Delete 5 lines, ex mode (ed)
5dd // Delete 5 lines, normal mode (vi)
..
vi Vim O'Reilly:
