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,243 of 197,835
Downloads: 16,975

Daily

Ranking: 80,375 of 197,813
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,446,704,195rake
251,174,115,426thor
146363,941,715rdoc
192290,496,599awesome_print
2,4109,658,096hoe
12,369226,519hoe-git
15,790138,902hoe-gemspec
23,07372,305vimrunner
58,71719,608autocompletion
66,43816,551hoe-version

Owners

#GravatarHandle
1iconzhaowu