Module ime.key

Convert vim key name <C-A> to A's code and Ctrl's mask

Functions

M.Key:new (key)
M.Key:tostring () print a printable key
M.Key:from_vim (name) create a Key from a vim name

Tables

Key config for Key


Functions

M.Key:new (key)

Parameters:

  • key table?

Returns:

    table
M.Key:tostring ()
print a printable key

Returns:

    string
M.Key:from_vim (name)
create a Key from a vim name

Parameters:

  • name string

Returns:

    table

Tables

Key
config for Key

Fields:

  • code rime key code
  • mask rime key mask
  • aliases
  • []
  • []
  • []
  • []
  • []
  • []
  • []
  • []
  • []
  • []
  • []
  • []
generated by LDoc 1.5.0 Last updated 2025-12-25 12:32:44