Allow to switch to a random theme

You can now specify the special theme name `random` and vim-airline will
load a random theme from the ones installed. This works from either your
.vimrc as well as when calling `:AirlineTheme` command directly.

closes vim-airline/vim-airline-themes#170
This commit is contained in:
Christian Brabandt
2019-03-26 21:03:13 +01:00
parent a6fb6d9da0
commit 148eb6bb28
4 changed files with 35 additions and 3 deletions
+2
View File
@@ -11,6 +11,8 @@ This is the Changelog for the vim-airline project.
Set the `g:airline_statusline_ontop` to enable this experimental feature.
- If `buffer_idx_mode=2`, up to 89 mappings will be exposed to access more
buffers directly (issue #1823)
- Allow to use `random` as special theme name, which will switch to a random
airline theme (at least if a random number can be generated :()
## [0.10] - 2018-12-15
- New features