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: 65,041 of 197,085
Downloads: 16,951

Daily

Ranking: 87,723 of 197,066
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,428,256,062rake
251,160,646,215thor
150353,290,307rdoc
192288,658,462awesome_print
2,4059,615,266hoe
12,353224,707hoe-git
15,782137,780hoe-gemspec
23,07271,857vimrunner
58,57719,557autocompletion
66,30516,510hoe-version

Owners

#GravatarHandle
1iconzhaowu