GithubHelp home page GithubHelp logo

vim-polar's Introduction

POLAR: vim colorscheme

More than 1000 words

90312170 f9182e80 df0a 11ea 9313 6004324392e8
90312194 1947ed80 df0b 11ea 9dfc c2f395f0efe5
90312264 a8ed9c00 df0b 11ea 87d4 a8647d9dc5c9
90312279 ca4e8800 df0b 11ea 924a e7c77f719a19
90312287 dfc3b200 df0b 11ea 8086 263f557b5db2
90312320 2addc500 df0c 11ea 991c 0dabf6e6f850

Installation

Using plugin manager

Follow your plugin manager documentation, for example, vim-plug does it this way:

" Specify a directory for plugins
call plug#begin('~/.vim/plugged')

Plug 'habamax/vim-polar'

" ... other plugins ...

" Initialize plugin system
call plug#end()

set termguicolors
colorscheme polar
Manual with git

Clone this repo to your vim/nvim packages directory:

Vim on Linux or OSX
git clone https://github.com/habamax/vim-polar ~/.vim/pack/plugins/start/vim-polar
Neovim on Linux or OSX
git clone https://github.com/habamax/vim-polar ~/.config/nvim/pack/plugins/start/vim-polar
Vim on Windows
git clone https://github.com/habamax/vim-polar C:/Users/USERNAME/vimfiles/pack/plugins/start/vim-polar (1)
Neovim on Windows
git clone https://github.com/habamax/vim-polar C:/Users/USERNAME/AppData/Local/nvim/pack/plugins/start/vim-polar (1)
  1. Change USERNAME to your user name

Manual
  • Download zip archive (available in Code  Download ZIP)

  • Extract colors/polar.vim file into your vim/nvim settings directory

    • ~/.vim/colors/polar.vim — vim (linux, osx)

    • ~/vimfiles/colors/polar.vim — vim (windows)

    • ~/.config/nvim/colors/polar.vim — neovim (linux, osx)

    • ~/AppData/Local/nvim/colors/polar.vim — neovim (windows)

add to your settings:

set termguicolors
colorscheme polar

Looks good but I want italic comments

Add following to your settings file:

augroup colorscheme_change | au!
    au ColorScheme polar hi Comment gui=italic cterm=italic
augroup END

set termguicolors
colorscheme polar

And bold statements

Add following to your settings file:

func! s:polar_setup() abort
    hi Comment gui=italic cterm=italic
    hi Statement gui=bold cterm=bold
endfunc

augroup colorscheme_change | au!
    au ColorScheme polar call s:polar_setup()
augroup END

set termguicolors
colorscheme polar

And VertSplit without background colors

Add following to your settings file:

func! s:polar_setup() abort
    hi Comment gui=italic cterm=italic
    hi Statement gui=bold cterm=bold
    hi VertSplit guibg=NONE ctermbg=NONE
endfunc

augroup colorscheme_change | au!
    au ColorScheme polar call s:polar_setup()
augroup END

set termguicolors
colorscheme polar

What about terminals with semi-transparent backgrounds?

Add this:

let g:polar_transp_bg = v:true
90312365 96c02d80 df0c 11ea 9637 280cd68774b0

vim-polar's People

Contributors

habamax 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.