on master help sign in
fix `:insert-output` doc: inserting output **before** each selection (#4286)
commit0e8e7cae3b88be32098e533e78398314c1dc2012 authorZJPzjp <jiping_zhou@foxmail.com> dateSun 16 Oct 2022, 00:07 (4 years ago) parentaef37d4
2 files changed+2−2
book/src/generated/typable-cmd.md+1−1 helix-term/src/commands/typed.rs+1−1
book/src/generated/typable-cmd.md+1−1
@@ -65,7 +65,7 @@
6565| `:config-reload` | Refresh user config. |
6666| `:config-open` | Open the user config.toml file. |
6767| `: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. |
6969| `:append-output` | Run shell command, appending output after each selection. |
7070| `:pipe` | Pipe each selection to the shell command. |
7171| `: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] = &[
20712071 TypableCommand {
20722072 name: "insert-output",
20732073 aliases: &[],
2074− doc: "Run shell command, inserting output after each selection.",
2074+ doc: "Run shell command, inserting output before each selection.",
20752075 fun: insert_output,
20762076 completer: None,
20772077 },