Daniel Shahaf c30301d474 | 9 jaren geleden | |
---|---|---|
.. | ||
README.md | 13 jaren geleden | |
cursor-highlighter.zsh | 9 jaren geleden |
This is the cursor highlighter, that highlights the cursor.
To activate it, add it to ZSH_HIGHLIGHT_HIGHLIGHTERS
:
ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] cursor)
This highlighter defines the following styles:
cursor
- the style for the current cursor positionTo override one of those styles, change its entry in ZSH_HIGHLIGHT_STYLES
, for example in ~/.zshrc
:
ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue'
The syntax for declaring styles is documented here.