Skip to content

Commit

Permalink
Update color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
chxuan committed Apr 12, 2016
1 parent c7e19a2 commit 84492b6
Show file tree
Hide file tree
Showing 2 changed files with 1,126 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ set rtp+=$GOROOT/misc/vim
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" 显示相关
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
syntax enable
syntax on
set cul "高亮光标所在行
"set cuc
Expand Down Expand Up @@ -130,12 +131,11 @@ func SetTitle()
call append(line(".")+5, "")
endif
if expand("%:e") == 'cpp'
call append(line(".")+6, "#include<iostream>")
call append(line(".")+7, "using namespace std;")
call append(line(".")+8, "")
call append(line(".")+6, "#include <iostream>")
call append(line(".")+7, "")
endif
if &filetype == 'c'
call append(line(".")+6, "#include<stdio.h>")
call append(line(".")+6, "#include <stdio.h>")
call append(line(".")+7, "")
endif
if expand("%:e") == 'h'
Expand Down Expand Up @@ -254,9 +254,6 @@ set noswapfile
"搜索忽略大小写
set ignorecase




set linespace=0
" 增强模式中的命令行自动完成操作
set wildmenu
Expand Down Expand Up @@ -387,3 +384,8 @@ let Tlist_Use_Right_Window = 1
let Tlist_File_Fold_Auto_Close = 1
map <F4> :Tlist<CR>
imap <F4> <ESC> :Tlist<CR>
"主题
set background=dark
let g:solarized_termcolors=256
colorscheme solarized
Loading

0 comments on commit 84492b6

Please sign in to comment.