Categories: None [Edit]

vimdo

https://rubygems.org/gems/vimdo
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

Total

Ranking: 64,402 of 188,317
Downloads: 15,812

Daily

Ranking: 34,383 of 188,299
Downloads: 8

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,190,757,019rake
251,010,063,829thor
170268,118,442awesome_print
178258,956,397rdoc
2,3109,055,715hoe
11,971203,078hoe-git
15,522123,391hoe-gemspec
26,33153,301vimrunner
59,38617,699autocompletion
64,82615,664hoe-version

Owners

#GravatarHandle
1iconzhaowu