summaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2023-01-16 10:48:09 -0700
committercflip <cflip@cflip.net>2023-01-16 10:48:09 -0700
commit617db1d87703e929390a3ea04d189a25c4aaa026 (patch)
treea768632f80a8c5b4d9b1192eaa553c4cb2505278 /editor.h
parent24232e191a16015509b444fcee771b2f0cb1478b (diff)
Implement some more commands from vim
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h3
1 files changed, 3 insertions, 0 deletions
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);