mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Added i3 windows manager config file syntax
This commit is contained in:
parent
ee137a16bf
commit
a6dad50ec6
15
i3.nanorc
Normal file
15
i3.nanorc
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
## Here is an example for i3 Window Manager config
|
||||||
|
##
|
||||||
|
syntax "i3" "i3/config"
|
||||||
|
header "^(.*)i3 config file"
|
||||||
|
|
||||||
|
color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
|
||||||
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||||
|
color green "-[Ldefgruwx]\>"
|
||||||
|
color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
|
||||||
|
color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
|
||||||
|
icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
|
||||||
|
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||||
|
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||||||
|
color cyan "(^|[[:space:]])#.*$"
|
||||||
|
color ,green "[[:space:]]+$"
|
Loading…
Reference in New Issue
Block a user