0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

デフォルトの色使いが気に入らないけど色を細かく弄るのは面倒な人に贈るVimrc

Last updated at Posted at 2023-03-06

結論

以下をsyntax enable以後の行に挿入してください

set bg=dark

前後
簡単に良い感じになります

以下ポエム

以前色々VimのColorSchemeなどをgitからダウンロードして色々弄り回してたとき、ある疑問が浮かんだ。

"他のCLIのソフトはターミナル側の色設定で見れる外観になるのに何故 Vimだけ こんな面倒なことをしないといい感じの外観にならないのか"

まともにCLIを使い倒している諸兄ならほぼ全員ターミナル側の色をいい感じになるように設定しているはず。

その設定があるはずなのにVimはこんな クソみたいな 色にしかならないのは恐らくVimのせいだ、と思っていろいろ調べた結果たどり着いた結論がset bg=dark

そう、 Vimはターミナル側の色設定を認識していないためデフォルトの背景色がlightだと思い込んでいる ということだった。

みんなキレていいよ。あとgitからダウンロードしたcolorscheme全部窓から捨てていいよ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?