see
jVi - vi editor clone
Current Configuration
Netbeans 6.7
jVi 1.2.6
jVi patch for undo/redo