An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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

Ecosystem
rubygems.org
Latest Release
1.2.1
over 12 years ago
Versions
5
Downloads
16,108 total
Dependent Repos
1
Links
Registry rubygems.org
Source Repository
Homepage Homepage
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:gem/vimdo
spec
License GPL-3.0
First Release almost 13 years ago
Last Synced about 1 month ago
Repository
Stars 2 on GitHub
Forks 0 on GitHub