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,214 of 189,169
Downloads: 16,060

Daily

Ranking: 58,510 of 189,148
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
91,224,844,718rake
251,028,135,809thor
176270,600,863awesome_print
177269,958,887rdoc
2,3169,116,317hoe
12,023204,769hoe-git
15,614123,963hoe-gemspec
26,32153,989vimrunner
59,23717,952autocompletion
64,89715,804hoe-version

Owners

#GravatarHandle
1iconzhaowu