habamax / vim-habanight

Black background vim colorscheme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HABANIGHT: vim colorscheme

#vim freenode irc name origin:
  <habamax> I am bad with names
<novasenco> I got a feeling
<novasenco> That tonight's gonna be a Haba night.
<novasenco> That tonight's gonna be a Haba night. Habanight Habanight.
  <habamax> lol
  <habamax> should I call it habanight?
<novasenco> habanight is not a bad name.
          * habamax hold my beer

More than 1000 words

100902443 efc0cb00 34d5 11eb 8787 0e038e24c6a7
100902230 c142f000 34d5 11eb 9ea1 e51857a5ae13
100902084 9bb5e680 34d5 11eb 8403 2d4ae21b5a22
100902002 83de6280 34d5 11eb 806b 5018258a5675

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-habanight'

" ... other plugins ...

" Initialize plugin system
call plug#end()

set termguicolors
colorscheme habanight
Manual with git

Clone this repo to your vim/nvim packages directory:

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

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

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

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

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

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

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

add to your settings:

set termguicolors
colorscheme habanight

Looks good but I want italic comments

Add following to your settings file:

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

set termguicolors
colorscheme habanight

And bold statements

Add following to your settings file:

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

augroup colorscheme_change | au!
    au ColorScheme habanight call s:habanight_setup()
augroup END

set termguicolors
colorscheme habanight

And VertSplit without background colors

func! s:habanight_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 habanight call s:habanight_setup()
augroup END

set termguicolors
colorscheme habanight

What about terminals with semi-transparent backgrounds?

Add this:

let g:habanight_transp_bg = v:true
100901726 3661f580 34d5 11eb 9064 8512dedff885

About

Black background vim colorscheme


Languages

Language:Vim Script 100.0%