Insert Mode
In this mode, Ki functions like the usual editor, where pressing keys on the keyboard types them into the current opened file.
Completion dropdown keybindings
The following keybindings only work when the completion dropdown is opened.
Keybinding | Meaning |
---|---|
ctrl+n | Next item |
ctrl+p | Previous item |
ctrl+space 1 | Use current item |
GNU Readline Keybindings
Although Normal Mode is the main sauce of Ki, it also implements a subset of GNU Readline Keybindings.
I highly recommend every terminal user to learn these keybindings, as they work in almost every terminal UI (TUI) application, for example:
- macOS native textbox
- fish
- bash
- zsh
- pgcli
- emacs
- mongosh
Implemented keybindings 1:
Keybinding | Meaning |
---|---|
ctrl+b | Move back a character |
ctrl+f | Move forward a character |
ctrl+a | Move to line start |
ctrl+e | Move to line end |
ctrl+k | Kill line forward |
ctrl+u | Kill line backward |
ctrl+w | Delete word backward |
alt+backspace | Delete sub word backward |