Chinaunix首页 | 论坛 | 博客
  • 博客访问: 447756
  • 博文数量: 481
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2013-01-06 14:09
文章分类

全部博文(481)

文章存档

2013年(483)

我的朋友

分类: Python/Ruby

2013-02-28 12:40:39

"Vim for Python"
"File : .vimrc

"pydiction auto complete
filetype plugin on
let g:pydiction_location = '~/.vim/tools/pydiction/complete-dict'
let g:pydiction_menu_height = 20 

"行号=="
set nu
set incsearch 
set autoread
set history=500
set textwidth=80
set wrap
set linebreak
set nocompatible

" 缩进
set sts=4
set shiftwidth=4
set softtabstop=4
set shiftwidth=4
set smarttab
set expandtab
set autoindent
set smartindent

set showcmd         "在状态栏显示命令
set showmatch       "显示匹配的括号
set hlsearch        "搜索时高亮显示
set incsearch       "增量搜索
set nobackup        "无备份
set magic           "使用正则时,除了$ . * ^以外的元字符都要加反斜线

"自动补齐"
inoremap ( ()i
inoremap { {}i
inoremap [ []i
inoremap ' ''i
inoremap " ""i

:filetype plugin on

阅读(174) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~