From 70a1756f0996bf96809e7eb941ff78f107a1dd87 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 25 Oct 2024 00:52:25 +0200 Subject: Bind Ctrl+W to erase word behind cursor Added keybinds descriptions in the readme. --- v2/README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'v2/README.md') diff --git a/v2/README.md b/v2/README.md index 17f3be5..f853630 100644 --- a/v2/README.md +++ b/v2/README.md @@ -50,3 +50,8 @@ M.text = ArenaPush(msgTextArena, M.text_len); ``` Notice, that this depends on knowing the text's length before allocating the memory. + +## Keybinds +- `Ctrl+C` | `Ctrl+D`: quits +- `Ctrl+U`: Erase input line +- `Ctrl+W`: Erase word behind cursor -- cgit v1.2.3