diff options
author | ZJPzjp | 2022-10-15 16:07:42 +0000 |
---|---|---|
committer | GitHub | 2022-10-15 16:07:42 +0000 |
commit | 0e8e7cae3b88be32098e533e78398314c1dc2012 (patch) | |
tree | f8fbea2f6e394add2de70e3bc92f1fa58e4815f0 | |
parent | aef37d43d7a943fdf58ade7df4d8defbef9a7ce0 (diff) |
fix `:insert-output` doc: inserting output **before** each selection (#4286)
-rw-r--r-- | book/src/generated/typable-cmd.md | 2 | ||||
-rw-r--r-- | helix-term/src/commands/typed.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md index 4cbff306..05a0985b 100644 --- a/book/src/generated/typable-cmd.md +++ b/book/src/generated/typable-cmd.md @@ -65,7 +65,7 @@ | `:config-reload` | Refresh user config. | | `:config-open` | Open the user config.toml file. | | `:log-open` | Open the helix log file. | -| `:insert-output` | Run shell command, inserting output after each selection. | +| `:insert-output` | Run shell command, inserting output before each selection. | | `:append-output` | Run shell command, appending output after each selection. | | `:pipe` | Pipe each selection to the shell command. | | `:run-shell-command`, `:sh` | Run a shell command | diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 78d25c1a..8ab10da4 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -2071,7 +2071,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[ TypableCommand { name: "insert-output", aliases: &[], - doc: "Run shell command, inserting output after each selection.", + doc: "Run shell command, inserting output before each selection.", fun: insert_output, completer: None, }, |