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,729 of 186,959
Downloads: 15,056

Daily

Ranking: 41,906 of 186,713
Downloads: 17

Depended by

RankDownloadsName

Depends on

RankDownloadsName
101,128,098,871rake
25964,433,324thor
164261,836,793awesome_print
190231,578,823rdoc
2,2588,891,655hoe
11,817198,082hoe-git
15,225121,807hoe-gemspec
26,49650,650vimrunner
59,77416,784autocompletion
64,39515,154hoe-version

Owners

#GravatarHandle
1iconzhaowu