summaryrefslogtreecommitdiff
path: root/src/command.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-02-02 00:13:53 +0100
committerAlbert Cervin <albert@acervin.com>2023-02-02 00:13:53 +0100
commitf17880d5ec783d600a3f74dff3d30acfc7d1e06c (patch)
tree6ff9e80370e88dffdcd56334470e8f8f3388113f /src/command.h
parent1cd66cac903151396a7513f8e009f6f654561daf (diff)
downloaddged-f17880d5ec783d600a3f74dff3d30acfc7d1e06c.tar.gz
dged-f17880d5ec783d600a3f74dff3d30acfc7d1e06c.tar.xz
dged-f17880d5ec783d600a3f74dff3d30acfc7d1e06c.zip
Add kill-ring pasting
M-y can cycle through earlier cut/copies. Also fix minibuffer tokenization error and error when deleting text. Vertical scrolling also works as it should now.
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h
index 20c7d74..35467e7 100644
--- a/src/command.h
+++ b/src/command.h
@@ -176,6 +176,11 @@ struct command *lookup_command_by_hash(struct commands *commands,
int32_t find_file(struct command_ctx ctx, int argc, const char *argv[]);
/**
+ * Write the active buffer to a file
+ */
+int32_t write_file(struct command_ctx ctx, int argc, const char *argv[]);
+
+/**
* Run a command interactively from the minibuffer.
*/
int32_t run_interactive(struct command_ctx ctx, int argc, const char *argv[]);