From 6462542fc50078e41074b70d0e70d52f351959fa Mon Sep 17 00:00:00 2001 From: Bob Date: Fri, 20 May 2022 09:27:59 +0800 Subject: support insert register in prompt (#2458) * support insert register in prompt * use next_char_handler instead of a flag * Fix clippy issue * show autoinfo when inserting register * Revert "show autoinfo when inserting register" This reverts commit 5488344de1c607d44bdf8693287a85b92cb32518. * use completion instead of autoinfo autoinfo is overlapped when using prompt * recalculate_completion after inserting register * Update helix-term/src/ui/prompt.rs Co-authored-by: Ivan Tham Co-authored-by: Ivan Tham --- book/src/keymap.md | 1 + 1 file changed, 1 insertion(+) (limited to 'book/src') diff --git a/book/src/keymap.md b/book/src/keymap.md index 9d5d0841..e56eeefc 100644 --- a/book/src/keymap.md +++ b/book/src/keymap.md @@ -367,6 +367,7 @@ Keys to use within prompt, Remapping currently not supported. | `Ctrl-s` | Insert a word under doc cursor, may be changed to Ctrl-r Ctrl-w later | | `Ctrl-p`, `Up` | Select previous history | | `Ctrl-n`, `Down` | Select next history | +| `Ctrl-r` | Insert the content of the register selected by following input char | | `Tab` | Select next completion item | | `BackTab` | Select previous completion item | | `Enter` | Open selected | -- cgit v1.2.3-70-g09d2