nvim_runtime_lua

vim.keycode.chord

@inlinedoc

Fields4

chord.key : string

Key without modifiers. Example: <C-A> has key="a".

chord.key_alt : nil | string

Alternative spelling of key, or nil if There Is No Alternative (TINA). Example: "<" has key_alt="lt".

chord.keys : string

Full key-chord in canonical key-notation (as produced by |keytrans()|), including modifiers. Example: <A-f> has keys="<M-f>".

chord.mod : "M" | "T" | "C" | "S" | "2" | "3" | "4" | "D"[]

List of key-chord modifiers. Example: <C-S-f> has mod={ 'C', 'S' }.