From 12e539d3e170ed15ee0afa00b5cd9a7b5130e19e Mon Sep 17 00:00:00 2001 From: Deon Spengler Date: Mon, 4 May 2015 00:09:24 +0200 Subject: [PATCH] Changed color schema when printing --- .vimrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.vimrc b/.vimrc index 23d3fa9..a4dcd19 100644 --- a/.vimrc +++ b/.vimrc @@ -22,6 +22,7 @@ Plugin 'bling/vim-airline' Plugin 'Valloric/YouCompleteMe' Plugin 'scrooloose/nerdcommenter' Plugin 'nanotech/jellybeans.vim' +Plugin 'reedes/vim-colors-pencil' call vundle#end() " set color scheme @@ -100,3 +101,12 @@ let g:UltiSnipsExpandTrigger="" " 80 column layout for python autocmd FileType python set colorcolumn=80 + +" set color for printing +command Hardcopy call Hardcopy() +function! Hardcopy() + let colors_save = g:colors_name + colorscheme default + hardcopy + execute 'colorscheme' colors_save +endfun