fix :insert-output doc: inserting output **before** each selection (#4286)

This commit is contained in:
ZJPzjp 2022-10-16 00:07:42 +08:00 committed by GitHub
parent aef37d43d7
commit 0e8e7cae3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
| `:config-reload` | Refresh user config. | | `:config-reload` | Refresh user config. |
| `:config-open` | Open the user config.toml file. | | `:config-open` | Open the user config.toml file. |
| `:log-open` | Open the helix log 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. | | `:append-output` | Run shell command, appending output after each selection. |
| `:pipe` | Pipe each selection to the shell command. | | `:pipe` | Pipe each selection to the shell command. |
| `:run-shell-command`, `:sh` | Run a shell command | | `:run-shell-command`, `:sh` | Run a shell command |

View File

@ -2071,7 +2071,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
TypableCommand { TypableCommand {
name: "insert-output", name: "insert-output",
aliases: &[], aliases: &[],
doc: "Run shell command, inserting output after each selection.", doc: "Run shell command, inserting output before each selection.",
fun: insert_output, fun: insert_output,
completer: None, completer: None,
}, },