mac下使用Solarized色彩配置

來源:互聯網
上載者:User

標籤:

Solarized色彩配置不用多介紹了。具體點擊這裡:http://ethanschoonover.com/solarized

我們首先搞定macvim

你需要下載solarized.vim配色檔案,沒有必要下載整個項目,你當然可以這樣:

$ git clone git://github.com/altercation/solarized.git

之後,就是常規的配置了:

1 $ cd solarized2 $ cd vim-colors-solarized/colors3 $ mkdir -p ~/.vim/colors4 $ cp solarized.vim ~/.vim/colors/5 6 $ vi ~/.vimrc7 syntax enable8 set background=dark9 colorscheme solarized

重新進入macvim,如你所見。

 

接著搞定secureCRT

在終端下find下,找到了設定檔:

vim ‘/Users/lebyzhao/Library/Application Support/VanDyke/SecureCRT/Config/Global.ini‘

替換這裡的配置內容:

B:"ANSI Color RGB"=0000004000 2b 38 00 dc 32 2f 00 85 99 00 00 b5 89 00 00 26 8b d2 00 d3 36 82 00 2a a1 98 00 ee e8 d5 0007 36 42 00 cb 4b 16 00 58 6e 75 00 65 7b 83 00 83 94 96 00 6c 71 c4 00 93 a1 a1 00 fd f6 e3 00

重新開啟session串連,是不是已經OK了呢。

注意要開啟Options->Session Options->Terminal->Emulation中得ansi color,

另外,這裡串連的mac 終端下,ls沒有顯示顏色的,網上找到可以在~/.bashrc 中加入:export CLICOLOR=1

再看看終端下運行vim,配色也已經OK了

 

 

mac下使用Solarized色彩配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.