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,670 of 196,584
Downloads: 16,926

Daily

Ranking: 38,501 of 196,552
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,405,193,642rake
251,144,329,592thor
152341,486,234rdoc
189286,444,056awesome_print
2,3859,541,197hoe
12,331222,487hoe-git
15,756136,461hoe-gemspec
23,27370,317vimrunner
58,48019,435autocompletion
66,14116,396hoe-version

Owners

#GravatarHandle
1iconzhaowu