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-04-30 15:37:07 +00:00
|
|
|
color cyan "\^([]A-Z^\_←→↑↓]|Home|End)" "[←→↑↓]"
|
|
|
|
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-)'"
|