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