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,739 of 187,239
Downloads: 15,386

Daily

Ranking: 41,793 of 187,224
Downloads: 9

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,151,901,046rake
25981,439,603thor
167264,175,701awesome_print
185241,836,103rdoc
2,2868,954,469hoe
11,876200,418hoe-git
15,378122,364hoe-gemspec
26,44651,786vimrunner
59,64517,239autocompletion
64,56715,439hoe-version

Owners

#GravatarHandle
1iconzhaowu