MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / vi_insert_at_bol

Function vi_insert_at_bol

extern/editline/src/vi.c:295–304  ·  view source on GitHub ↗

vi_insert_at_bol(): * Vi enter insert mode at the beginning of line * [I] */

Source from the content-addressed store, hash-verified

293 * [I]
294 */
295protected el_action_t
296/*ARGSUSED*/
297vi_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():

Callers

nothing calls this directly

Calls 1

cv_undoFunction · 0.85

Tested by

no test coverage detected