Skip to content

Commit

Permalink
Update Alt + \ document
Browse files Browse the repository at this point in the history
  • Loading branch information
luozhiya committed May 19, 2024
1 parent d7efdfa commit 0f0d5ab
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 |
Expand Down

0 comments on commit 0f0d5ab

Please sign in to comment.