我的.vimrc
2015-11-06 09:55
363 查看
set guifont=Monaco:h14
set background=light
set shortmess=atI
set cindent autoindent number sts=4 sw=4 ts=4 et
set nobackup
filetype on
filetype plugin on
filetype indent on
autocmd FileType python set omnifunc=pythoncomplete
setlocal noswapfile
set bufhidden=hide
syntax on
set nocompatible
set backspace=indent,eol,start
func! DeleteTrailingWS()
exe "normal mz"
%s/\s\+$//ge
exe "normal `z"
endfunc
autocmd BufWrite *.py,*.t2t,*.sh :call DeleteTrailingWS()
set background=light
set shortmess=atI
set cindent autoindent number sts=4 sw=4 ts=4 et
set nobackup
filetype on
filetype plugin on
filetype indent on
autocmd FileType python set omnifunc=pythoncomplete
setlocal noswapfile
set bufhidden=hide
syntax on
set nocompatible
set backspace=indent,eol,start
func! DeleteTrailingWS()
exe "normal mz"
%s/\s\+$//ge
exe "normal `z"
endfunc
autocmd BufWrite *.py,*.t2t,*.sh :call DeleteTrailingWS()
相关文章推荐
- java解析 CHM实战
- (转)hadoop三个配置文件的参数含义说明
- js原生代码编写一个鼠标在页面移动坐标的检测功能,兼容各大浏览器
- Java单例模式简介
- 报表 ireport 基于Servlet实现
- Linux 映射文件
- 详解iOS开发中UIPickerView控件的使用方法
- NSURLSession学习笔记(简介)
- 面试中五个咸鱼翻身的机会,好好把握!
- mysql将timestamp类型转换成date类型数据
- 海淘攻略
- iTerm2 + Oh My Zsh
- C#程序发布在IIS7后,路径无法访问.apk文件的解决方法
- RHCE 系列(五):如何在 RHEL 7 中管理系统日志(配置、轮换以及导入到数据库)
- ios图片拉伸解决办法
- 高德地图设置中国经纬度范围
- poj1014.Dividing (暴力 && 搜索)
- 让 mediatomb 支持中文
- js获取多个选中checkbox的值
- 智能车学习(十二)——智能车原理