Skip to content

Commit

Permalink
Merge pull request scopatz#135 from luislobo/master
Browse files Browse the repository at this point in the history
Added i3 windows manager config file syntax
  • Loading branch information
scopatz authored Jan 23, 2017
2 parents ee137a1 + a6dad50 commit 9befa91
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions i3.nanorc
Original file line number Diff line number Diff line change
@@ -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:]]+$"

0 comments on commit 9befa91

Please sign in to comment.