mirror of
https://github.com/joshdick/onedark.vim.git
synced 2025-11-11 12:33:48 -05:00
Add instructions for lightline.vim colorscheme and updated statusline preview image(s)
This commit is contained in:
25
README.md
25
README.md
@@ -69,6 +69,29 @@ A dark Vim color scheme for the GUI and 16/256-color terminals, based on [FlatCo
|
|||||||
|
|
||||||
* `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default). If you're using [iTerm2](http://iterm2.com) on macOS, you might need to [use a special TERMINFO](https://gist.github.com/sos4nt/3187620) to get italics working.
|
* `g:onedark_terminal_italics`: Set to `1` if your terminal emulator supports italics; `0` otherwise (the default). If you're using [iTerm2](http://iterm2.com) on macOS, you might need to [use a special TERMINFO](https://gist.github.com/sos4nt/3187620) to get italics working.
|
||||||
|
|
||||||
|
## lightline.vim Colorscheme
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
This repository includes a companion [lightline.vim](https://github.com/itchyny/lightline.vim) colorscheme for use with onedark.vim.
|
||||||
|
|
||||||
|
The lightline.vim colorscheme:
|
||||||
|
|
||||||
|
* Depends on onedark.vim for its colors, and must therefore be used in conjunction with it.
|
||||||
|
* Works with both color modes available in onedark.vim (16 or 256 colors), as specified in the configuration for onedark.vim.
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
(These instructions assume that lightline.vim and onedark.vim are already installed and configured to your liking.)
|
||||||
|
|
||||||
|
Place `onedark.vim/autoload/lightline/colorscheme/onedark.vim` in your `~/.vim/autoload/lightline/colorscheme/` directory either manually or by using your Vim plug-in manager of choice, then add the following lines to your `~/.vimrc` (or merge them into your existing lightline.vim configuration):
|
||||||
|
|
||||||
|
```vim
|
||||||
|
let g:lightline = {
|
||||||
|
\ 'colorscheme': 'onedark',
|
||||||
|
\ }
|
||||||
|
```
|
||||||
|
|
||||||
## vim-airline Theme
|
## vim-airline Theme
|
||||||
|
|
||||||

|

|
||||||
@@ -85,7 +108,7 @@ The vim-airline theme:
|
|||||||
|
|
||||||
(These instructions assume that vim-airline and onedark.vim are already installed and configured to your liking.)
|
(These instructions assume that vim-airline and onedark.vim are already installed and configured to your liking.)
|
||||||
|
|
||||||
Place `onedark.vim` in your `~/.vim/autoload/airline/themes/` directory either manually or by using your Vim plug-in manager of choice, then add the following line to your `~/.vimrc`:
|
Place `onedark.vim/autoload/airline/themes/onedark.vim` in your `~/.vim/autoload/airline/themes/` directory either manually or by using your Vim plug-in manager of choice, then add the following line to your `~/.vimrc`:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
let g:airline_theme='onedark'
|
let g:airline_theme='onedark'
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 13 KiB |
BIN
preview_lightline.png
Normal file
BIN
preview_lightline.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user