aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-31 18:29:11 +0000
committerDmitry Sharshakov2021-08-31 18:29:11 +0000
commit5b20f6020a4acd74bc545fc27c473f0198354e5d (patch)
treee826e8ec1b9fefd3d9f979e30c6176f4a7302bf2 /book
parent6265e196b700b363244961ed2957d9eef5460c34 (diff)
parenta3bd80a6fa4f07b0fa581eae416376763ba94345 (diff)
Merge remote-tracking branch 'origin/master' into debug
Contains type fix on helix-term/src/ui/editor.rs:752:13
Diffstat (limited to 'book')
-rw-r--r--book/src/keymap.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index 61378863..d85fb936 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -122,6 +122,16 @@ in reverse, or searching via smartcase.
| `[D` | Go to first diagnostic in document | `goto_first_diag` |
| `]D` | Go to last diagnostic in document | `goto_last_diag` |
+### Shell
+
+| Key | Description | Command |
+| ------ | ----------- | ------- |
+| `\|` | Pipe each selection through shell command, replacing with output | `shell_pipe` |
+| `A-\|` | Pipe each selection into shell command, ignoring output | `shell_pipe_to` |
+| `!` | Run shell command, inserting output before each selection | `shell_insert_output` |
+| `A-!` | Run shell command, appending output after each selection | `shell_append_output` |
+| `$` | Pipe each selection into shell command, removing if the command exits >0 | `shell_keep_pipe` |
+
## Select / extend mode
I'm still pondering whether to keep this mode or not. It changes movement