vi_zero(): * Vi move to the beginning of line * [0] */
| 564 | * [0] |
| 565 | */ |
| 566 | protected el_action_t |
| 567 | vi_zero(EditLine *el, Int c) |
| 568 | { |
| 569 | |
| 570 | if (el->el_state.doingarg) |
| 571 | return ed_argument_digit(el, c); |
| 572 | |
| 573 | el->el_line.cursor = el->el_line.buffer; |
| 574 | if (el->el_chared.c_vcmd.action != NOP) { |
| 575 | cv_delfini(el); |
| 576 | return CC_REFRESH; |
| 577 | } |
| 578 | return CC_CURSOR; |
| 579 | } |
| 580 | |
| 581 | |
| 582 | /* vi_delete_prev_char(): |
nothing calls this directly
no test coverage detected