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,445 of 193,540
Downloads: 16,593

Daily

Ranking: 34,741 of 193,523
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,341,038,984rake
251,097,087,977thor
164311,499,967rdoc
183280,448,119awesome_print
2,3669,329,204hoe
12,345211,954hoe-git
15,959128,247hoe-gemspec
25,32860,304vimrunner
58,50018,962autocompletion
65,82416,094hoe-version

Owners

#GravatarHandle
1iconzhaowu