This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
# Modified from : http://www.tkalin.com/blog_posts/using-console-vim-as-vim-protocol-handler-in-ubuntu | |
# NOTE: This opens with a link to the mvim protocol for compatibility with RailsPanel | |
# goes to /usr/local/bin/cvim | |
require 'uri' | |
require 'cgi' | |
full_path = ARGV[0] |