码迷,mamicode.com
首页 > 系统相关 > 详细

vim配置

时间:2015-07-15 01:09:49      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

syntax on
set shiftwidth=4
set tabstop=4
set softtabstop=4
set ruler
set nu
set expandtab
set history=100
set pastetoggle=<F9>
set cursorline
filetype plugin on
set omnifunc=syntaxcomplete#Complete
nmap <F10> :NERDTree <CR>

colorscheme tir_black
if &term =~ "xterm"
" 256 colors
let &t_Co = 256
" restore screen after quitting
let &t_ti = "\<Esc>7\<Esc>[r\<Esc>[?47h"
let &t_te = "\<Esc>[?47l\<Esc>8"
if has("terminfo")
let &t_Sf = "\<Esc>[3%p1%dm"
let &t_Sb = "\<Esc>[4%p1%dm"
else
let &t_Sf = "\<Esc>[3%dm"
let &t_Sb = "\<Esc>[4%dm"
endif
endif

vim配置

标签:

原文地址:http://www.cnblogs.com/gray035/p/4646967.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!