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,568 of 192,745
Downloads: 16,433

Daily

Ranking: 48,067 of 192,720
Downloads: 5

Depended by

RankDownloadsName

Depends on

RankDownloadsName
81,317,003,449rake
251,081,835,603thor
165302,639,818rdoc
179278,107,895awesome_print
2,3589,271,393hoe
12,318210,136hoe-git
15,921127,229hoe-gemspec
25,70358,345vimrunner
58,94018,656autocompletion
65,62016,046hoe-version

Owners

#GravatarHandle
1iconzhaowu