From 617db1d87703e929390a3ea04d189a25c4aaa026 Mon Sep 17 00:00:00 2001 From: cflip Date: Mon, 16 Jan 2023 10:48:09 -0700 Subject: Implement some more commands from vim --- editor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index dc0b354..f38a7d4 100644 --- a/editor.h +++ b/editor.h @@ -40,6 +40,9 @@ void editor_move_down(struct editor_state *); void editor_insert_char(struct editor_state* editor, int c); void editor_insert_newline(struct editor_state* editor); void editor_delete_char(struct editor_state* editor); +void editor_add_line_above(struct editor_state* editor); +void editor_add_line_below(struct editor_state* editor); + void editor_find(struct editor_state* editor); void editor_scroll(struct editor_state* editor); void editor_draw_rows(struct editor_state* editor, struct append_buffer* buffer); -- cgit v1.2.3