Created
September 26, 2008 17:48
-
-
Save Sixeight/13159 to your computer and use it in GitHub Desktop.
This file contains 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
" vimperator plugin *MODOKI* | |
" | |
" USAGA: | |
" :gosh S式 | |
(function() { | |
liberator.commands.addUserCommand(['gosh'], 'Evalute gauche code', | |
function(arg, special) { | |
// Set your gosh path! | |
var gosh_path = '/opt/local/bin/gosh'; | |
var command = ''; | |
if (special) { | |
command = "!" + gosh_path + " -e '(display " + arg + ")'"; | |
} | |
else { | |
command = "!" + gosh_path + " -e '" + arg + "'"; | |
} | |
liberator.execute(command); | |
}, {} | |
); | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment