vimdo 1.0.2
Vimdo is a ruby gem to automate tasks with vim remote servers. Predefined tasks include diff, merge, etc. You can define your own recipes to run tasks with Vim. For example, you can define `DirDiff` recipe: ```ruby module VimDo class CLI < Thor desc "dirdiff", "directory diff in vim" def dirdiff(from, to) [from, to].each do |f| unless File.directory?(f) raise PathError "#{f} is not directory!" end end from, to = [from, to].map {|f| File.expand_path(f) } commands(%Q{exec 'DirDiff ' fnameescape("#{from}") fnameescape("#{to}")}) end end end ``` Then run `vimdo dirdiff path/to/a path/to/b` from the command line or other tools
Gemfile:
=
installation:
=
Dépendances de Development (12):
growl
>= 0
guard
>= 0
guard-rspec
>= 0
hoe
>= 0
hoe-bundler
>= 0
hoe-gemspec
>= 0
hoe-git
>= 0
hoe-version
>= 0
rake
>= 10.0.0
rdoc
~> 3.10
rspec
>= 2.13