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,223 of 189,739
Downloads: 16,108

Daily

Ranking: 77,544 of 189,725
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
91,241,404,399rake
251,037,226,701thor
173275,920,213rdoc
177271,935,591awesome_print
2,3249,140,634hoe
12,048205,309hoe-git
15,644124,396hoe-gemspec
26,28754,320vimrunner
59,10718,073autocompletion
64,96815,832hoe-version

Owners

#GravatarHandle
1iconzhaowu