Oceanic Next theme for neovim
Vim script JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 021c281 Feb 7, 2018
bronzehedwick and mhartington Correct all true color terminal colors (#67)
Several terminal colors were set to grey tones, making them hard to read/inconsistent with normal colors. For example, the color for a symlink is light grey, instead of purple.

It seems this is caused by assigning color values to terminal color points sequentially, which assigns a different color to the normal and the bright version. Since OceanicNext doesn't define bright versions, we can use the same color for both.

Re-order the colors to make it clear the normal and bright colors are connected (same color). Modeled after the working gruvbox file: https://github.com/morhetz/gruvbox/blob/master/colors/gruvbox.vim#L275

README.md

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.

" 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