aboutsummaryrefslogtreecommitdiff
path: root/src/binds.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-23 21:48:55 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-23 22:18:28 +0000
commitc643478ad84c4e30539c5b18d23718eccf292506 (patch)
treebd0054a332ebd2b375657d6c0464814cb529c810 /src/binds.h
parent65c9826bab96fe9925b7bc03caec2298f57a04a0 (diff)
downloadimv-c643478ad84c4e30539c5b18d23718eccf292506.tar.gz
Add default_binds option to prevent conflicts
Diffstat (limited to 'src/binds.h')
-rw-r--r--src/binds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binds.h b/src/binds.h
index cf41c74..05810d8 100644
--- a/src/binds.h
+++ b/src/binds.h
@@ -22,6 +22,9 @@ void imv_binds_free(struct imv_binds *binds);
/* Create a key binding */
enum bind_result imv_binds_add(struct imv_binds *binds, const struct list *keys, const char *cmd);
+/* Remove all key bindings */
+void imv_binds_clear(struct imv_binds *binds);
+
/* Fetch the list of keys pressed so far */
const struct list *imv_bind_input_buffer(struct imv_binds *binds);