Skip to main content

Module which_key

Module which_key 

Source
Expand description

Which-key style chord maps — discoverable prefixes for Normal mode.

Instant feedback after a short delay (see WhichKeyState::ready) so fast typists never see a flash. Space is the leader key with nested menus.

Structs§

ChordHint
One row in a which-key menu: key label + description.
WhichKeyState
Active which-key / leader session.

Constants§

WHICH_KEY_DELAY_MS
Delay before the chord popup appears.

Functions§

as_hints
Convert static map → app hint vec.
leader_hints
Hints for the current leader path ("" root, "f", …).
map_bracket_close
map_bracket_open
map_ctrl_w
map_g
map_macro_play
map_macro_record
map_mark_jump_exact
map_mark_jump_line
map_mark_set
map_operator_change
map_operator_delete
map_operator_yank
map_register
map_space_b
map_space_c
map_space_d
map_space_f
map_space_g
map_space_h
map_space_l
map_space_root
map_space_s
map_space_t
map_space_w
map_textobject
map_z