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

pull/2423/head^2
ZJPzjp 2 years ago committed by GitHub
parent aef37d43d7
commit 0e8e7cae3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 |

@ -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,
}, },

Loading…
Cancel
Save