oceanic-next


Ⅰ. 插件描述

Oceanic Next theme for neovim

Ⅱ. 基本信息

创建日期:  2015-08-20
使用用户:  654
Github星:  664
插件作者:  Mike Hartington

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'mhartington/oceanic-next'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'mhartington/oceanic-next'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'mhartington/oceanic-next'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/mhartington/oceanic-next

Ⅳ. 文档说明

# Oceanic-Next.vim

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.

Installation

All major plugin managers for vim/nvim are supported

<PACKAGE_MANAGER> 'mhartington/oceanic-next'

For vim, add the following to your .vimrc.

(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 .nvimrc.

" 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:

  let g:airline_theme='oceanicnext'

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.

Configuration

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

Screenshot

Base colors used in the theme.

neovim

Shown here with vim-devicons

添加新评论