Ⅰ. 插件描述Oceanic Next theme for neovim
:source % :PluginInstall
对于Vundle版本 < 0.10.2，请用上面的Bundle替换Plugin。
:source % :NeoBundleInstall
:source % :PlugInstall
cd ~/.vim/bundle git clone https://github.com/mhartington/oceanic-next
Oceanic-Next.vim is a neovim theme inspired by Oceanic Next for Sublime.
It is not a direct port, but uses some colors from the sublime theme, that are fitted to work with neovim and vim8.
For best results, it is suggested that you use the following syntax plugins.
All major plugin managers for vim/nvim are supported
For vim, add the following to your
(On Google Cloud Shell try to
set t_Co=256 instead of
set termguicolors even though your vim version is 8)
" Theme syntax enable " for vim 7 set t_Co=256 " for vim 8 if (has("termguicolors")) set termguicolors endif colorscheme OceanicNext
For neovim, add the following to your
" For Neovim 0.1.3 and 0.1.4 let $NVIM_TUI_ENABLE_TRUE_COLOR=1 " Or if you have Neovim >= 0.1.5 if (has("termguicolors")) set termguicolors endif " Theme syntax enable colorscheme OceanicNext
There is an included theme for vim-airline, to use it, just change the airline theme to:
There is a light mode, but it still needs some work.
Currently, light mode has issues with cursor, need to tweak the colors a bit for that.
Also, the included airline theme could use some work in light mode. Right now it is the exact same as the dark version, I'd like to tweak this a bit.
If anyone would like to contribute, I'd be happy to accept a Pull Request.
If your terminal and setup supports it, you can enable italics and bold fonts with the following setting
syntax on let g:oceanic_next_terminal_bold = 1 let g:oceanic_next_terminal_italic = 1 colorscheme OceanicNext
Base colors used in the theme.
Shown here with vim-devicons