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,460 of 187,967
Downloads: 15,684

Daily

Ranking: 33,190 of 187,960
Downloads: 13

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,178,214,454rake
251,000,658,423thor
170266,815,145awesome_print
180253,525,775rdoc
2,3029,020,660hoe
11,935202,342hoe-git
15,451123,235hoe-gemspec
26,29952,992vimrunner
59,45917,547autocompletion
64,71915,592hoe-version

Owners

#GravatarHandle
1iconzhaowu