Vim与终端配色方案

3

我使用terminator已经有一段时间了,但我刚刚注意到它没有从我的.vimrc文件中拉取正确的配色方案。如下图所示,终端正在拉取正确的配色方案,但terminator没有。我认为这是因为terminator具有“color”选项,它覆盖了我在.vimrc中设置的选项,但是否有任何方法可以使其不这样做?我更喜欢备选版本。

Terminator vs Terminal

这是我的 .vimrc 文件

set nocompatible              " be iMproved, required
filetype off                  " required

set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'zeis/vim-kolor'
Plugin 'altercation/vim-colors-solarized'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-latex/vim-latex'
call vundle#end()            " required
filetype plugin indent on    " required
filetype plugin on

colorscheme kolor
1个回答

4
尝试在设置配色方案之前设置backgroundt_Co选项。
set background=dark
set t_Co=256

另一个选项可能是将终端主题调整为与其他终端相同。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接