Skip to content

Instantly share code, notes, and snippets.

View shinnya's full-sized avatar

foobar shinnya

  • Japan
View GitHub Profile
@shinnya
shinnya / gist:781990
Created January 16, 2011 18:02
A patch for zlc.el
--- zlc.el.org 2011-01-17 02:53:46.000000000 +0900
+++ zlc.el 2011-01-17 02:55:23.000000000 +0900
@@ -73,6 +73,11 @@
(zlc-minibuffer-complete)
ad-do-it))
+(defadvice PC-complete (around zlc--around-PC-complete activate)
+ (if zlc--mode
+ (zlc-minibuffer-complete)
+ ad-do-it))
@shinnya
shinnya / gist:463159
Created July 4, 2010 05:16
[KeySnail] Copy URL to clipboard
key.setViewKey('M-u', function (ev, arg) \
{
display.echoStatusBar("Copy URL to clipboard");
command.setClipboardText(getBrowser().contentDocument.URL);
}, 'Copy URL to clipboard');