vi_substitute_char(): * Vi replace character under the cursor and enter insert mode * [s] */
| 344 | * [s] |
| 345 | */ |
| 346 | protected el_action_t |
| 347 | /*ARGSUSED*/ |
| 348 | vi_substitute_char(EditLine *el, Int c __attribute__((__unused__))) |
| 349 | { |
| 350 | |
| 351 | c_delafter(el, el->el_state.argument); |
| 352 | el->el_map.current = el->el_map.key; |
| 353 | return CC_REFRESH; |
| 354 | } |
| 355 | |
| 356 | |
| 357 | /* vi_substitute_line(): |
nothing calls this directly
no test coverage detected