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: - of 0
Downloads: -

Daily

Ranking: - of 0
Downloads: -

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,354,615,159rake
251,107,409,166thor
162317,588,811rdoc
183281,903,365awesome_print
2,3719,373,808hoe
12,348213,880hoe-git
15,932129,696hoe-gemspec
24,94861,866vimrunner
58,37419,096autocompletion
65,94216,122hoe-version

Owners

#GravatarHandle
1iconzhaowu