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,537 of 195,805
Downloads: 16,889

Daily

Ranking: 61,388 of 195,782
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,386,187,992rake
251,130,732,551thor
155332,297,124rdoc
187284,714,973awesome_print
2,3779,485,440hoe
12,320219,852hoe-git
15,807134,573hoe-gemspec
24,18565,873vimrunner
58,53219,316autocompletion
66,15816,304hoe-version

Owners

#GravatarHandle
1iconzhaowu