From 0f0d5abc646fb05b1425ed7f6f4c95cb561e0600 Mon Sep 17 00:00:00 2001 From: luozhiya Date: Sun, 19 May 2024 14:22:51 +0800 Subject: [PATCH] Update `Alt + \` document --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 832eba16..a310a8e0 100644 --- a/README.md +++ b/README.md @@ -186,11 +186,12 @@ require('cmp').setup({ ### Default Mappings -| Mappings | Action | -|-------------|------------------------| -| `Tab` | Accept all suggestions | -| `Ctrl + 🡫` | Accept line | -| `Ctrl + 🡪` | Accept word | +| Mappings | Action | +|-------------|--------------------------------| +| `Tab` | Accept all suggestions | +| `Ctrl + 🡫` | Accept line | +| `Ctrl + 🡪` | Accept word | +| `Alt + \` | Manually triggering completion | ## ✏️ APIs @@ -234,6 +235,7 @@ vim.log = { | `register()` | Register to Fitten Code AI | | `set_log_level(level)` | Set the log level | | `get_current_status()` | Get the current status of the `InlineEngine` and `ActionEngine` | +| `triggering_completion()` | Manually triggering completion | | `has_suggestion()` | Check if there is a suggestion | | `accept_all_suggestions()` | Accept all suggestions | | `accept_line()` | Accept line |