aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-08 08:21:10 +0000
committerBlaž Hrastnik2021-09-24 01:30:23 +0000
commit75dba1f9560c6ea579e79ff074e60ba2fb87ca63 (patch)
treeb35449d735dc770ad65a07c33ccb180f1a589651 /book/src
parent9ea9e779b2eef293c14ae50d5767035c0a9544a5 (diff)
experiment: space+k for LSP doc, K for keep_selections
Diffstat (limited to 'book/src')
-rw-r--r--book/src/keymap.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/keymap.md b/book/src/keymap.md
index aed48d5b..78bac0cf 100644
--- a/book/src/keymap.md
+++ b/book/src/keymap.md
@@ -38,7 +38,6 @@
| `Z` | Enter sticky [view mode](#view-mode) | N/A |
| `Ctrl-w` | Enter [window mode](#window-mode) | N/A |
| `Space` | Enter [space mode](#space-mode) | N/A |
-| `K` | Show documentation for the item under the cursor | `hover` |
### Changes
@@ -98,7 +97,7 @@
| `X` | Extend selection to line bounds (line-wise selection) | `extend_to_line_bounds` |
| | Expand selection to parent syntax node TODO: pick a key | `expand_selection` |
| `J` | Join lines inside selection | `join_selections` |
-| `K` | Keep selections matching the regex TODO: overlapped by hover help | `keep_selections` |
+| `K` | Keep selections matching the regex | `keep_selections` |
| `$` | Pipe each selection into shell command, keep selections where command returned 0 | `shell_keep_pipe` |
| `Ctrl-c` | Comment/uncomment the selections | `toggle_comments` |
@@ -194,6 +193,7 @@ This layer is a kludge of mappings, mostly pickers.
| Key | Description | Command |
| ----- | ----------- | ------- |
+| `k` | Show documentation for the item under the cursor | `hover` |
| `f` | Open file picker | `file_picker` |
| `b` | Open buffer picker | `buffer_picker` |
| `s` | Open symbol picker (current document) | `symbol_picker` |