Vim Recall繁體中文

Add a menu translation item

:menutranslate

Example

Normal 0 / 2

Add a menu translation item.

GUI menu state

Menu bar
no menus loaded
Translation Help
none
Before & after

Before

GUI menu state

Menu bar
no menus loaded
Translation Help
none

After

GUI menu state

Menu bar
no menus loaded
Translation Help
Hilfe; applies when Help entries are subsequently defined

Documentation-backed illustration. GUI Vim with +menu and +multi_lang; no menu entries remain and :menutranslate clear was completed before defining this translation. The translation table now maps Help to Hilfe. New direct Help-menu definitions use this active mapping; existing menu labels are not renamed. Primary help: :menutranslate.

Sample buffer
alpha
beta
gamma
Cursor on line 1, column 1
Details & Vim help

Add a menu translation item. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :menut[ranslate] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.