on master help sign in
fix `:insert-output` doc: inserting output **before** each selection (#4286)
0e8e7caZJPzjp
book/src/generated/typable-cmd.md+1−1
@@ -65,7 +65,7 @@
65| `:config-reload` | Refresh user config. |
65| `:config-reload` | Refresh user config. |
66| `:config-open` | Open the user config.toml file. |
66| `:config-open` | Open the user config.toml file. |
67| `:log-open` | Open the helix log file. |
67| `:log-open` | Open the helix log file. |
68−| `:insert-output` | Run shell command, inserting output after each selection. |
68+| `:insert-output` | Run shell command, inserting output before each selection. |
69| `:append-output` | Run shell command, appending output after each selection. |
69| `:append-output` | Run shell command, appending output after each selection. |
70| `:pipe` | Pipe each selection to the shell command. |
70| `:pipe` | Pipe each selection to the shell command. |
71| `:run-shell-command`, `:sh` | Run a shell command |
71| `:run-shell-command`, `:sh` | Run a shell command |
helix-term/src/commands/typed.rs+1−1
@@ -2071,7 +2071,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
2071 TypableCommand {
2071 TypableCommand {
2072 name: "insert-output",
2072 name: "insert-output",
2073 aliases: &[],
2073 aliases: &[],
2074− doc: "Run shell command, inserting output after each selection.",
2074+ doc: "Run shell command, inserting output before each selection.",
2075 fun: insert_output,
2075 fun: insert_output,
2076 completer: None,
2076 completer: None,
2077 },
2077 },