https://github.com/bradford-smith94/vim-dauber
dauber: Change the statusline color based on mode
https://github.com/bradford-smith94/vim-dauber
statusline vim-plugin
Last synced: 7 months ago
JSON representation
dauber: Change the statusline color based on mode
- Host: GitHub
- URL: https://github.com/bradford-smith94/vim-dauber
- Owner: bradford-smith94
- Created: 2017-04-02T02:14:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T02:17:20.000Z (over 8 years ago)
- Last Synced: 2025-01-27T09:41:46.285Z (8 months ago)
- Topics: statusline, vim-plugin
- Language: Vim script
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-dauber
First: origins of the name.`dauber` - *noun* - a crude or inartistic painter.
Dauber is plugin to change the color of Vim's builtin statusline based on the
current mode. It does so in a rather crude and uninspired manner too.## How it Works
Dauber makes use of Vim's User highlight groups (i.e. - `User1`, `User2` ... `User9`)
see `:help hl-User1`. Use these groups in your statusline config, then define
highlight groups for each Vim mode, and Dauber will link them to `User1` - `User9`
when the mode switches.## Configuration
The following variables control Dauber:- `g:dauber_normal_groups`
- `g:dauber_insert_groups`
- `g:dauber_replace_groups`
- `g:dauber_visual_groups`
- `g:dauber_visual_block_groups`
- `g:dauber_visual_line_groups`Each of them should be set to a list of the names of nine highlight groups.
If you don't want a color set it to the name `NONE` or something like that.