RubyGems Navigation menu

vimdo 1.2.0

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

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.2.1 - October 29, 2013 (15,5 KB)
  2. 1.2.0 - April 21, 2013 (15,5 KB)
  3. 1.1.1 - April 19, 2013 (15,5 KB)
  4. 1.1.0 - April 07, 2013 (11 KB)
  5. 1.0.2 - April 07, 2013 (10 KB)

Runtime Abhängigkeiten (3):

autocompletion ~> 0.0.3
thor ~> 0.18.0
vimrunner >= 0.3.0

Development Abhängigkeiten (7):

hoe >= 0
hoe-git >= 0
rake >= 10.0.0
rdoc ~> 4.0

Besitzer:

Autoren:

  • Zhao Cai

SHA 256-Prüfsumme:

4ea8224dae3c60686ce5b837793b80dc754f0fd24be779821c54c31c80d6e8cd

Downloads insgesamt 13.979

Für diese Version 2.627

Lizenz:

GPL-3

Erforderliche Ruby-Version: None

Links: