habamax / vim-polar

White background vim colorscheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

White background vim colorscheme


Languages

Language:Vim Script 100.0%