13 lines
402 B
Plaintext
13 lines
402 B
Plaintext
|
## 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:
|
||
|
color brightblue "\^([]A-Z^\_←→↑↓]|Home|End)" "[←→↑↓]"
|
||
|
color brightblue "\<(Tab|Enter|Home|End|Ins|Del|Bsp|PgUp|PgDn)\>"
|
||
|
color brightblue "\<M-." "\<F1?[0-9]" "(\^|M-)Space"
|
||
|
|
||
|
# Quoted indicators:
|
||
|
color brightred "'(\^|M-)'"
|