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.
|
|
|
|
syntax "nanohelp"
|
|
|
|
|
|
|
|
# Key combos:
|
2017-05-07 17:47:34 +00:00
|
|
|
color cyan "\^([]4-8A-Z^\_←→↑↓]|Home|End)" "[←→↑↓]"
|
2017-04-30 15:37:07 +00:00
|
|
|
color cyan "\<(Tab|Enter|Home|End|Ins|Del|Bsp|PgUp|PgDn)\>"
|
|
|
|
color cyan "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
2017-04-25 11:41:35 +00:00
|
|
|
|
|
|
|
# Quoted indicators:
|
|
|
|
color brightred "'(\^|M-)'"
|