2017-04-25 11:41:35 +00:00
|
|
|
## This is meant for highlighting key combos in a nano help text.
|
|
|
|
|
|
|
|
# It should not apply to any normal file, so no fileregex.
|
2018-02-07 10:25:46 +00:00
|
|
|
syntax nanohelp
|
2017-04-25 11:41:35 +00:00
|
|
|
|
|
|
|
# Key combos:
|
2018-07-31 18:21:17 +00:00
|
|
|
color cyan "\^[]4-8A-Z^\_◀▶▲▼]" "[◀▶▲▼]" "\<M-." "\<F1?[0-9]"
|
2018-09-30 17:37:12 +00:00
|
|
|
color cyan "\<(Tab|Sh-Tab|Enter|Ins|Del|Sh-\^Del|Space|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>"
|
2017-04-25 11:41:35 +00:00
|
|
|
|
|
|
|
# Quoted indicators:
|
|
|
|
color brightred "'(\^|M-)'"
|