Skip to content

Instantly share code, notes, and snippets.

Yuki Ito yuitowest

Block or report user

Report or block yuitowest

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
yuitowest / gist:4064453
Created Nov 13, 2012
sublime text2 sidebar keymap
View gist:4064453
{ "keys": ["j"], "command": "move", "args": {"by": "lines", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
{ "keys": ["k"], "command": "move", "args": {"by": "lines", "forward": false}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
{ "keys": ["l"], "command": "move", "args": {"by": "characters", "forward": true}, "context":
[ {"key": "control", "operand": "sidebar_tree"} ]
{ "keys": ["h"], "command": "move", "args": {"by": "characters", "forward": false}, "context":
yuitowest / _hg
Created Dec 3, 2011
Zsh completion script for mercurial
View _hg
#compdef hg
# Zsh completion script for mercurial. Rename this file to _hg and copy
# it into your zsh function path (/usr/share/zsh/site-functions for
# instance)
# If you do not want to install it globally, you can copy it somewhere
# else and add that directory to $fpath. This must be done before
# compinit is called. If the file is copied to ~/.zsh.d, your ~/.zshrc
# file could look like this:
View gist:1161724
var appendEntry = function(selector, entry) {
if (entry != undefined && > 0) {
var $dl = $('<dl/>', {class: 'entry'});
$dl.append($('<dt/>', {class: 'title'}))
$dl.children("dt").append($('<a/>', {href: entry.url, text: entry.title}))
for (i in {
var $li = $('<li/>');
You can’t perform that action at this time.