diff options
author | Blaž Hrastnik | 2021-09-01 02:01:19 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-09-01 02:09:50 +0000 |
commit | ce7ad2beb5b763e55cc40933d70ca7c7b325292e (patch) | |
tree | 5cefeb88d11f0a3901d52a24d2c0c48b89ffe0d8 /book/src | |
parent | dc609cafb506e9677d16632b6fede3c488d4c4bb (diff) |
Reimplement keep-pipe, it needs to manipulate selections, not text
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/keymap.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index d85fb936..2c6a9576 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -124,13 +124,13 @@ in reverse, or searching via smartcase. ### 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` | +| 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, keep selections where command returned 0 | `shell_keep_pipe` | ## Select / extend mode |