diff options
| author | Albert Cervin <albert@acervin.com> | 2023-02-02 00:13:53 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-02-02 00:13:53 +0100 |
| commit | f17880d5ec783d600a3f74dff3d30acfc7d1e06c (patch) | |
| tree | 6ff9e80370e88dffdcd56334470e8f8f3388113f /src/command.h | |
| parent | 1cd66cac903151396a7513f8e009f6f654561daf (diff) | |
| download | dged-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.h | 5 |
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[]); |
