coding text editor



Hi!
I am writiing a VI like text editor in C++ for the console. I
would like to know some opensource tools that would help me build it
faster. Also, What would be the best approach to build it?
Thank You.
.