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,923 of 197,051
Downloads: 16,951

Daily

Ranking: 43,450 of 197,010
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,427,168,861rake
251,159,918,681thor
150352,720,308rdoc
192288,546,244awesome_print
2,4049,612,990hoe
12,353224,599hoe-git
15,784137,703hoe-gemspec
23,07971,802vimrunner
58,48719,554autocompletion
66,19116,504hoe-version

Owners

#GravatarHandle
1iconzhaowu