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,303 of 191,633
Downloads: 16,268

Daily

Ranking: 44,868 of 191,606
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,278,574,041rake
251,059,535,203thor
168289,908,392rdoc
179275,037,396awesome_print
2,3419,206,124hoe
12,110207,381hoe-git
15,724125,556hoe-gemspec
26,14155,610vimrunner
58,83218,411autocompletion
65,22015,936hoe-version

Owners

#GravatarHandle
1iconzhaowu