install Vundle.vim

  1. mkdir ~/.vim/bundle
  2. git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  3. create .vimrc if it not exist. add the following setting into .vimrc
 set nocompatible              " be iMproved, required
filetype off " required " set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim' " All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required

install vim-better-whitespace git:https://github.com/ntpeters/vim-better-whitespace

add : Plugin 'ntpeters/vim-better-whitespace' to .vimrc between vundle#begin() and vundle#end()

Plugin 'ntpeters/vim-better-whitespace'

then rum vim : :PluginInstall

if you want to auto delete whitespace if can add the following cmd into your .vimrc

autocmd BufWritePre * StripWhitespace

最新文章

  1. jstack工具查看系统线程问题
  2. 数论(poj 1401)
  3. 【转载】delete table 和 truncate table 的区别
  4. HDU3037 Saving Beans(Lucas定理+乘法逆元)
  5. nodejs3-事件zepto.js事件
  6. iOS UIKit:TableView之表格创建(1)
  7. (转)Spring MVC
  8. has-a关系——包含对象成员的类
  9. 委托、Lambda表达式
  10. Java8:使用Lambda表达式增强版Comparator排序
  11. abstract class与interface的区别与联系
  12. 使用paramiko远程执行
  13. 更便捷的css处理方式-postcss
  14. python3写入csv多一个空行
  15. LINQ学习之旅 C#3.0新特性(一)
  16. load_basemap
  17. jquery tmpl学习资料 --{{each}} each使用
  18. js 获取上传文件的字节数及内容
  19. hdu4059The Boss on Mars 容斥原理
  20. receive.denyCurrentBranch 推送错误解决

热门文章

  1. <runtime> 的 <assemblyBinding> 元素
  2. Android中Menu的基本用法
  3. 设置JQuery的Ajax方法同步
  4. 【Tika基础教程之一】Tika基础教程
  5. 生成简历经验总结(解析HTML字符串)
  6. Git学习01 --git add, git commit , git log ,git status, git reset --hard, head
  7. SQL中 and or优先级问题(转)
  8. HeadFirst设计模式读书笔记(5)-单例模式
  9. 【python】中文的输出,打印,文件编码问题解决方法
  10. INNO SETUP 获得命令行参数