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,201 of 188,779
Downloads: 15,995

Daily

Ranking: 26,001 of 188,757
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,202,684,222rake
251,019,078,118thor
173269,283,935awesome_print
177264,474,191rdoc
2,3139,088,198hoe
11,989204,257hoe-git
15,561123,758hoe-gemspec
26,35253,610vimrunner
59,39017,817autocompletion
64,84415,758hoe-version

Owners

#GravatarHandle
1iconzhaowu