From b917595e9b6d50157acf2209d8ec687578973d06 Mon Sep 17 00:00:00 2001 From: Mathieu Agopian Date: Sat, 18 Feb 2023 19:41:06 +0100 Subject: [PATCH] Document the new behavior in keymap.md --- book/src/keymap.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/book/src/keymap.md b/book/src/keymap.md index 8864ab696..93c8ac78c 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -143,13 +143,13 @@ Search commands all operate on the `/` register by default. Use `"` to operate on a different one. -| Key | Description | Command | -| ----- | ----------- | ------- | -| `/` | Search for regex pattern | `search` | -| `?` | Search for previous pattern | `rsearch` | -| `n` | Select next search match | `search_next` | -| `N` | Select previous search match | `search_prev` | -| `*` | Use current selection as the search pattern | `search_selection` | +| Key | Description | Command | +| ----- | ----------- | ------- | +| `/` | Search for regex pattern | `search` | +| `?` | Search for previous pattern | `rsearch` | +| `n` | Select next search match | `search_next` | +| `N` | Select previous search match | `search_prev` | +| `*` | Use current selection as the search pattern, if only a single char is selected the current word (miW) is used instead | `search_selection` | ### Minor modes