GithubHelp home page GithubHelp logo

optionalg / oceanic-next Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhartington/oceanic-next

0.0 1.0 0.0 2.11 MB

Oceanic Next theme for neovim

License: Other

CSS 3.35% JavaScript 4.32% Vim Script 92.32%

oceanic-next's Introduction

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

oceanic-next's People

Contributors

mhartington avatar bramkok avatar cstyles avatar epilande avatar harg avatar nicoder avatar nfvs avatar olalonde avatar rpunkfu avatar jtr109 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.