Просмотр исходного кода

add solarized theme for git

make sure that terminal emulator is also using solarized theme
cinaeco 13 лет назад
Родитель
Сommit
ad1f827925
3 измененных файлов с 10 добавлено и 4 удалено
  1. 3 0
      .gitmodules
  2. 1 0
      vim/bundle/solarized
  3. 6 4
      vim/vimrc

+ 3 - 0
.gitmodules

@@ -19,3 +19,6 @@
 [submodule "vim/bundle/ack"]
 	path = vim/bundle/ack
 	url = git://github.com/mileszs/ack.vim.git
+[submodule "vim/bundle/solarized"]
+	path = vim/bundle/solarized
+	url = git://github.com/altercation/vim-colors-solarized.git

+ 1 - 0
vim/bundle/solarized

@@ -0,0 +1 @@
+Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21

+ 6 - 4
vim/vimrc

@@ -1,3 +1,5 @@
+set nocompatible "Don't have to try to be compatible with old vi
+
 """"""""
 "" Plugin Loading with Pathogen
 """""""""""""""""""""""""""""""""""""""""""""""""""
@@ -20,7 +22,6 @@ autocmd VimEnter * call StartUp()
 "" General Behaviours
 """""""""""""""""""""""""""""""""""""""""""""""""""
 
-set nocompatible "Don't have to try to be compatible with old vi
 set autoread "Read a file if it's changed from outside of vim
 set splitbelow "New splits appear below current window instead of above
 set ttyfast "Smooth movement
@@ -69,9 +70,10 @@ set backspace=eol,start,indent "backspace over everything
 "" UI - Colours
 """"""""""""""""""""""""""""""""""""""""""""""""""""""
 
-syntax on
-set t_Co=256
-colorscheme desert
+syntax enable
+set t_Co=16
+set background=dark
+colorscheme solarized
 hi Folded ctermfg=darkred "set colour for folded lines
 
 if version >= 730