diff options
author | Blaž Hrastnik | 2021-09-03 02:03:34 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-09-03 02:03:34 +0000 |
commit | 4c410eef8720db0c92f39a050c4c5658636013fa (patch) | |
tree | ff0bc8dc19ac321675736a7e18ef8ca7aa95d414 /book/src | |
parent | 9c64650a26cf03207f93c9eeddbafb12edccbf6e (diff) | |
parent | 7e1123680f474bff5113db189f63ca7f948781a5 (diff) |
Merge remote-tracking branch 'origin/master' into debug
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/keymap.md | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md index d85fb936..861e46ac 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -110,27 +110,28 @@ in reverse, or searching via smartcase. | `N` | Add next search match to selection | `extend_search_next` | | `*` | Use current selection as the search pattern | `search_selection` | -### Diagnostics +### Unimpaired -> NOTE: `[` and `]` will likely contain more pair mappings in the style of -> [vim-unimpaired](https://github.com/tpope/vim-unimpaired) +Mappings in the style of [vim-unimpaired](https://github.com/tpope/vim-unimpaired) -| Key | Description | Command | -| ----- | ----------- | ------- | -| `[d` | Go to previous diagnostic | `goto_prev_diag` | -| `]d` | Go to next diagnostic | `goto_next_diag` | -| `[D` | Go to first diagnostic in document | `goto_first_diag` | -| `]D` | Go to last diagnostic in document | `goto_last_diag` | +| Key | Description | Command | +| ----- | ----------- | ------- | +| `[d` | Go to previous diagnostic | `goto_prev_diag` | +| `]d` | Go to next diagnostic | `goto_next_diag` | +| `[D` | Go to first diagnostic in document | `goto_first_diag` | +| `]D` | Go to last diagnostic in document | `goto_last_diag` | +| `[space` | Add newline above | `add_newline_above` | +| `]space` | Add newline below | `add_newline_below` | ### 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 |