本页还没有译文
本页 5 段还没译成Português (BR),下面显示的是英文原文。HotkeySequence
还没翻译译自英文(tanstack.com)本页 5 段都还没译
type HotkeySequence = Hotkey[];Defined in: sequence-manager.ts:52
A sequence of hotkeys for Vim-style shortcuts.
Each element is one step (a Hotkey string). Steps may include modifiers;
the same modifier can appear on consecutive steps (e.g. Shift+R then
Shift+T). Modifier-only key events do not advance or reset matching—see
SequenceManager. Automatic keydown repeats and IME composition are also ignored.
Example
const gotoTop: HotkeySequence = ['G', 'G'] // gg
const deleteLine: HotkeySequence = ['D', 'D'] // dd
const deleteWord: HotkeySequence = ['D', 'I', 'W'] // diw
const chainedShift: HotkeySequence = ['Shift+R', 'Shift+T']AI 翻译查看英文原文