.vimrc

参照这个设置不错:http://www.cnblogs.com/zhangsf/archive/2013/06/13/3134409.html

set nocompatible



set number "显示行号
set autoindent" 设置自动对齐(缩进):即每行的缩进值与上一行相等;使用 noautoindent 取消设置
"set smartindent        " 智能对齐方式
set showmatch        " 设置匹配模式,显示匹配的括号
set ruler            " 标尺,用于显示光标位置的行号和列号,逗号分隔。每个窗口都有自己的标尺。如果窗口有状态行,标尺在那里显示。否则,它显示在屏幕的最后一行上。
set incsearch        " 输入字符串就显示匹配点
set tabstop=4        " 设置制表符(tab键)的宽度
set shiftwidth=4    " (自动) 缩进使用的4个空格
set softtabstop=4     " 设置软制表符的宽度 
set cindent            " 使用 C/C++ 语言的自动缩进方式
set nobackup


syntax enable   "语法高亮
syntax on
color slate   "背景颜色




" install bundle


set nocompatible               " be iMproved
filetype off                   " required!


set rtp+=~/.vim/bundle/vundle/
call vundle#rc()


" let Vundle manage Vundle
" required! 
Bundle 'gmarik/vundle'


" My Bundles here:


filetype plugin indent on     " required!
"
" Brief help
" :BundleList          - list configured bundles
" :BundleInstall(!)    - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..


" install bundle


"Bundle 'scrooloose/nerdtree'
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值