Permalink
Browse files

Travis CI integration

  • Loading branch information...
1 parent af33c6f commit 154315086577c77e33340dbe840f1b93272b1a83 @AndrewRadev committed Dec 9, 2012
Showing with 9 additions and 0 deletions.
  1. +7 −0 .travis.yml
  2. +2 −0 README.md
View
@@ -0,0 +1,7 @@
+language: ruby
+rvm:
+ - 1.9.3
+before_install: sudo apt-get install vim-gtk
+before_script:
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
View
@@ -1,3 +1,5 @@
+[![Build Status](https://secure.travis-ci.org/AndrewRadev/whitespaste.vim.png?branch=master)](http://travis-ci.org/AndrewRadev/whitespaste.vim)
+
## Usage
This plugin remaps the standard `p` and `P` mappings to enhance their functionality. When pasting, it compresses all blank lines that result from the paste to a single one (or none, at the top and bottom of the file). That way, even if you copy any leftover whitespace, it'll be neatly trimmed to just one line. This takes effect only for linewise pasting, since it's not entirely clear what the behaviour should be for characterwise and blockwise pasting.

0 comments on commit 1543150

Please sign in to comment.