mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-29 16:13:27 +03:00
8f1a657a37
On a Linux console, ^/ produces Backspace, making it unrebindable. This fixes https://savannah.gnu.org/bugs/?53248.
12 lines
390 B
Plaintext
12 lines
390 B
Plaintext
## This is meant for highlighting key combos in a nano help text.
|
|
|
|
# It should not apply to any normal file, so no fileregex.
|
|
syntax nanohelp
|
|
|
|
# Key combos:
|
|
color cyan "\^[]4-8A-Z^\_◀▶▲▼]" "[◀▶▲▼]" "(\^|M-)Space" "\<M-." "\<F1?[0-9]"
|
|
color cyan "\<(Tab|Sh-Tab|Enter|Ins|Del|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>"
|
|
|
|
# Quoted indicators:
|
|
color brightred "'(\^|M-)'"
|