Loading ...
Sorry, an error occurred while loading the content.

115328Question to Ruby users

Expand Messages
  • Ciss
    Jun 23, 2010
    • 0 Attachment
      Hello everyone.

      Does anybody need a more lovely api to write vim extensions via ruby
      language?
      Or this is bad idea to improve vimscript-ruby api?

      I start to write this staff, and it seems what i will make much like
      getting args and eval this via VIM::command;

      example:

      def bind_function(key,function)
      VIM::command("map <expr> #{key} RubyMethod(\"#{function.to_s}\")")
      end

      def fu_test()
      vim_print("Hello from ruby api!")
      end

      bind "mm", :fu_test

      So, when i start to write this api i think this will be more funny but
      now i understand... :)

      Anybody interesting in this Ruby-Vim-Improve-Api? Or this is unusefull
      work?

      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 2 messages in this topic