~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.vim/plugin/toggle_bg.vim -rw-r--r-- 272 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
" Toggle between light and dark background
" Author: Greg Anders <greg@gpanders.com>
" Date: 2019-03-27

if exists('g:loaded_toggle_bg') || !(has('termguicolors') || has('gui'))
  finish
endif
let g:loaded_toggle_bg = 1

command! -nargs=0 ToggleBg call toggle_bg#toggle()