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: 65,432 of 198,575
Downloads: 17,013

Daily

Ranking: 83,483 of 198,547
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,465,647,176rake
251,188,840,504thor
142375,601,782rdoc
194292,307,044awesome_print
2,4139,740,641hoe
12,413227,475hoe-git
15,833139,551hoe-gemspec
23,06372,910vimrunner
58,48019,852autocompletion
66,63516,589hoe-version

Owners

#GravatarHandle
1iconzhaowu