Skip to main content

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.

KeybindingMeaning
ctrl+nNext item
ctrl+pPrevious item
tabUse 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:

KeybindingMeaning
ctrl+bMove back a character
ctrl+fMove forward a character
ctrl+aMove to line start
ctrl+eMove to line end
ctrl+kKill line forward
ctrl+uKill line backward
ctrl+wDelete token backward
alt+backspaceDelete word backward

Footnotes

  1. Not every unimplemented keybinding is incompatible/meaningless with/in Ki, but because I do not have time for them, so feel free to submit PR!