aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 2e66b77..01bf1a0 100644
--- a/vis.h
+++ b/vis.h
@@ -14,6 +14,7 @@ typedef struct Win Win;
#include "text-regex.h"
#include "libutf.h"
#include "array.h"
+#include "buffer.h"
#ifndef CONFIG_HELP
#define CONFIG_HELP 1
@@ -1230,6 +1231,13 @@ bool vis_option_unregister(Vis *vis, const char *name);
bool vis_prompt_cmd(Vis *vis, const char *cmd);
/**
+ * Write newline separated list of available commands to ``buf``
+ * @param vis The editor instance.
+ * @param buf The buffer to write to.
+ */
+void vis_print_cmds(Vis*, Buffer *buf);
+
+/**
* Pipe a given file range to an external process.
* @param vis The editor instance.
* @param file The file to pipe.