首页 > 系统服务 > 详细

vim配置

时间:2015-07-15 01:08:15      阅读:264      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!