Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kat0h/vim-colorscheme-settings
Provide VSCode like colorscheme switcher
https://github.com/kat0h/vim-colorscheme-settings
vim
Last synced: 3 months ago
JSON representation
Provide VSCode like colorscheme switcher
- Host: GitHub
- URL: https://github.com/kat0h/vim-colorscheme-settings
- Owner: kat0h
- Created: 2020-10-24T14:26:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T05:32:19.000Z (over 3 years ago)
- Last Synced: 2023-03-07T09:12:36.700Z (almost 2 years ago)
- Topics: vim
- Language: Vim script
- Homepage:
- Size: 49.8 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vim Colorscheme Settings 🎨
Colorscheme switcher for Vim## Function
- Change colorschemes *interactive*.## How To Use
```:SwitchColorscheme```
```:SwitchBackGround```
Like VS Code, you can change Vim's Colorscheme .
You can select the Color scheme using J or K or the cursor keys.
You can then confirm your selection with the Enter or Spacebar.## Options
```g:colorschemes_settings#use_default_colorschemes```
Setting this flag to v: false will prevent the standard color scheme from being loaded```g:colorschemes_settings#rc_file_path```
Specifies where the settings are saved when the colorscheme is changed
This path is not automatically expanded
**Note** that the file will be overwritten
Example
```let g:colorscheme_settings#colorrc_path = expand('~/.vim/colorrc.vim')```
If you want to set option when Vim starts. write this code to your .vimrc
```
let s:colorrcpath = expand('~/.vim/colorrc.vim')
if filereadable(s:colorrcpath)
execute "source" s:colorrcpath
endif
```## ScreenShot
![screen](https://github.com/kato-k/assets/blob/master/vim-colorscheme-settings.gif)## License
MIT
## Author
Kota Kato a.k.a kat0h