Chinaunix首页 | 论坛 | 博客
  • 博客访问: 642328
  • 博文数量: 198
  • 博客积分: 4256
  • 博客等级: 上校
  • 技术积分: 1725
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-15 13:12
文章分类

全部博文(198)

文章存档

2012年(12)

2011年(39)

2010年(135)

2009年(12)

我的朋友

分类: Python/Ruby

2011-03-28 12:04:54

"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

阅读(794) | 评论(0) | 转发(1) |
0

上一篇:python 模拟浏览器

下一篇:MySQLDB python

给主人留下些什么吧!~~