vim配置
export LC_ALL='en_US.UTF-8'
json.dumps(report, ensure_ascii=False)
Yesterday="$(date -d -1day +%Y%m%d)" Today="$(date +%Y%m%d)"
文件.vimrc
if &t_Co > 1 syntax enable endif set cursorcolumn set cursorline highlight CursorLine cterm=NONE ctermbg=black ctermfg=white guibg=NONE guifg=NONhighlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE
if &t_Co > 1 syntax enable endif set cursorcolumn set cursorline highlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE
vim没有颜色(debian)
vim /etc/vim/vimrc
查找syntax on 取消注释
http://www.voidcn.com/article/p-vkcjatim-bbs.html
http://blog.51cto.com/dengyong/1349794
配色方案
下载主题颜色
https://github.com/sickill/vim-monokai
cd mkdir -p .vim/colors/ #Put monokai.vim file in your ~/.vim/colors/ directory and add the following line to your ~/.vimrc: syntax enable colorscheme monokai
if &t_Co > 1 syntax enable endif set cursorcolumn set cursorline highlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE syntax enable colorscheme monokai
------
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim $ vim .vimrc 然后wq保存 " Vundle配置开始 set nocompatible " be iMproved, required filetype off " required " 启用vundle来管理vim插件 set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " 安装插件写在这之后 " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' Plugin 'vim-scripts/indentpython.vim' " 安装插件写在这之前 call vundle#end() " required filetype plugin on " required $ vim .vimrc 输入 :PluginInstall 安装插件
http://www.cnblogs.com/makexu/