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,253 of 190,497
Downloads: 16,200

Daily

Ranking: 65,347 of 190,468
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,259,660,350rake
251,048,096,710thor
171282,910,032rdoc
179273,514,347awesome_print
2,3359,170,163hoe
12,083206,218hoe-git
15,693124,906hoe-gemspec
26,23454,897vimrunner
58,88618,273autocompletion
65,07515,892hoe-version

Owners

#GravatarHandle
1iconzhaowu