vi_insert_at_bol(): * Vi enter insert mode at the beginning of line * [I] */
| 293 | * [I] |
| 294 | */ |
| 295 | protected el_action_t |
| 296 | /*ARGSUSED*/ |
| 297 | vi_insert_at_bol(EditLine *el, Int c __attribute__((__unused__))) |
| 298 | { |
| 299 | |
| 300 | el->el_line.cursor = el->el_line.buffer; |
| 301 | cv_undo(el); |
| 302 | el->el_map.current = el->el_map.key; |
| 303 | return CC_CURSOR; |
| 304 | } |
| 305 | |
| 306 | |
| 307 | /* vi_replace_char(): |