vi_insert(): * Vi enter insert mode * [i] */
| 395 | * [i] |
| 396 | */ |
| 397 | protected el_action_t |
| 398 | /*ARGSUSED*/ |
| 399 | vi_insert(EditLine *el, Int c __attribute__((__unused__))) |
| 400 | { |
| 401 | |
| 402 | el->el_map.current = el->el_map.key; |
| 403 | cv_undo(el); |
| 404 | return CC_NORM; |
| 405 | } |
| 406 | |
| 407 | |
| 408 | /* vi_add(): |