简体   繁体   English

在我的MAC终端和Vim上设置日晒颜色方案时遇到问题

[英]Having trouble setting solarized colorscheme on my MAC terminal and Vim

I have searched the Internet and tried many ways, but I still have no idea what went wrong. 我已经搜索了Internet并尝试了许多方法,但是我仍然不知道出了什么问题。

Here's what I do to install solarized colorscheme. 这是我要做的安装日光色系的方法。

1.Download package from https://github.com/altercation/vim-colors-solarized 1.从https://github.com/altercation/vim-colors-solarized下载软件包

2.Doulbe click the Solarized Dark ansi.terminal file and my terminal looks good. 2.Doulbe单击Solarized Dark ansi.terminal文件,我的终端看起来不错。

3.replace my default BSD ls with GNU ls(by installing coreutils) 3.将我的默认BSD ls替换为GNU ls(通过安装coreutils)

4.move the solarized.vim to ~/vim/colors 4.将solarized.vim移动到〜/ vim / colors

5.modify the .vimrc file(adding the following lines): 5.修改.vimrc文件(添加以下几行):

syntax enable
set background=dark
set t_Co=256
let g:solarized_termcolors=256
colorscheme solarized

And these are all done in my newly-bought mac with Yosemite 10.10.2 这些都是在我用Yosemite 10.10.2新购买的Mac中完成的 这是我的vim的样子:

Curiously, when I select all text, it appears to be normal: 奇怪的是,当我选择所有文本时,它似乎是正常的: 选择之后

Also, my ls seems abnormal: 另外,我的ls似乎异常: 我的ls效果

I have stuck at this for a long time. 我已经坚持了很长时间。 Somebody please helps me, I would really appreciate it. 有人请帮我,我真的很感激。 And, happy Chinese new year! 而且,春节快乐!

@Xingyu, I think your question is not very clear. @星宇,我想你的问题不是很清楚。

Do you mean the selection color in the Terminal clear enough? 您是说终端中的选择颜色是否足够清晰?

As for your ls problem I really don't get it. 至于你的ls问题,我真的不明白。 But have a look on GNU ls from Coreutils missing OS X ACL implementation I think it can only help. 但是看看Coreutils的GNU ls是否缺少OS X ACL实现,我认为它只能提供帮助。

You should make your screenshot bigger to make it clear to everyone as it's currently not very understandable with the actual size. 您应该将屏幕截图放大以使所有人都清楚,因为当前的实际大小尚无法理解。

Happy new year :) 新年快乐 :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM