Any Tutorial on how to create a Vim-like editor? -
i've been avid vim user, , became interested in how works.
does know if there's tutorial goes on basics of converting normal text editor have vi/m capability? programming language not matter; i'm quite experienced programmer.
i have found following resources far:
i think first should know vi/vim 2 parts. 1 visual editor called vi , other on one-liner editor called ed.
actually vi called visual editor because it's built on top of ed(editor). visual part of ex mode, can see , edit text, that's why name vi visual.
the ex mode replication/representation of editor ed. fire ed on terminal , use default vi ex commands. visual, replace , insert modes used vi. example there several commands doing same thing, example:
:100 // go line 100, ex mode (ed) 100g // go line 100, normal mode(vi) :.,5d // delete 5 lines, ex mode (ed) 5dd // delete 5 lines, normal mode (vi) and on...
for more information on recommended read excellent book learning vi , vim editors o'reilly:

Comments
Post a Comment