2017-04-25 13:41:35 +02:00
|
|
|
## 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:
|
2017-10-12 18:10:36 +02:00
|
|
|
color cyan "\^[]4-8A-Z^\_◀▶▲▼]" "[◀▶▲▼]" "(\^|M-)Space" "\<M-." "\<F1?[0-9]"
|
2017-10-11 21:52:18 +02:00
|
|
|
color cyan "\<(Tab|Enter|Ins|Del|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>"
|
2017-04-25 13:41:35 +02:00
|
|
|
|
|
|
|
# Quoted indicators:
|
|
|
|
color brightred "'(\^|M-)'"
|