Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:hardcopy の配色はどの様に決まる? #1389

Open
iranoan opened this issue Jul 5, 2022 · 0 comments
Open

:hardcopy の配色はどの様に決まる? #1389

iranoan opened this issue Jul 5, 2022 · 0 comments

Comments

@iranoan
Copy link

iranoan commented Jul 5, 2022

質問の内容

:hardcopy
の配色はどの様に決まるのでしょうか?
標準で存在する
:colorscheme default
:colorscheme desert
や GVim でない -g オプション無しで起動するターミナルで動かす時は、背景色は全て白、標準の Normal ハイライトグループ及び、それにリンクされているハイライトは黒文字になりました

しかし Gvim で
:colorscheme solarized
を使っていると、ところどころ編集ウィンドウと同じ配色なります

GVim 使用時に端末と同じ様に背景色は全て白、標準の Normal ハイライトグループ及び、それにリンクされているハイライトは黒文字にするにはどうすればよいのでしょう?

実際の例

GVim default 使用

default-light

GVim で desert 使用

desert-dark

端末 Vim で solarized-dark 使用

solarized-dark-term

端末 Vim で solarized-light 使用

solarized-light-term

GVim で solarized-dark 使用

solarized-dark

GVim で solarized-light 使用

solarized-light

Vimのバージョン

$ vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 18 2022 19:26:30)
適用済パッチ: 1-3995
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
Huge 版 with GTK3 GUI. 機能の一覧 有効(+)/無効(-)

OSの種類/ディストリ/バージョン

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
$ uname -a
Linux xxx 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

使用している or 関係していそうなプラグイン

~/.vim/vimrc の内容は次のとおりです

call plug#begin()
Plug 'altercation/vim-colors-solarized'
call plug#end()
set viminfo+=n~/.vim/viminfo
set number signcolumn=yes
set background=dark
colorscheme solarized
set printencoding=utf-8
set printmbcharset=UniJIS2004
set printfont=Japanese-Mincho-Regular:h11
set printmbfont=r:Japanese-Mincho-Regular
set printmbfont+=,c:no,a:yes
set printheader=%y%F%m%=%N
set printoptions+=number:y,formfeed:y,left:5mm,right:5mm,top:5mm,bottom:5mm
filetype plugin on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant