1. 5
  1.  

  2. 1

    FYI recently antirez created a simple editor in C, here it is. You might find it useful…