nanohelp.nanorc 406 Bytes
Newer Older
1
2
3
4
5
6
## 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:
7
color cyan "\^([]4-8A-Z^\_←→↑↓]|Home|End)"  "[←→↑↓]"
8
color cyan "\<(Tab|Enter|Home|End|Ins|Del|Bsp|PgUp|PgDn|Up|Down|Left|Right)\>"
9
color cyan "\<M-."  "\<F1?[0-9]"  "(\^|M-)Space"
10
11
12

# Quoted indicators:
color brightred "'(\^|M-)'"