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,606 of 187,591
Downloads: 15,532

Daily

Ranking: 130,231 of 187,571
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,165,649,814rake
25991,612,233thor
169265,487,451awesome_print
182248,248,053rdoc
2,2978,987,679hoe
11,899201,778hoe-git
15,393122,998hoe-gemspec
26,26952,637vimrunner
59,50017,414autocompletion
64,64215,518hoe-version

Owners

#GravatarHandle
1iconzhaowu