Skip to content

Instantly share code, notes, and snippets.

@yuitowest
yuitowest / gist:4064453
Created November 13, 2012 07:18
sublime text2 sidebar keymap
{ "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":
var appendEntry = function(selector, entry) {
if (entry != undefined && entry.yt.length > 0) {
var $dl = $('<dl/>', {class: 'entry'});
$dl.append($('<dt/>', {class: 'title'}))
$dl.children("dt").append($('<a/>', {href: entry.url, text: entry.title}))
$dl.append($('<dd/>'));
$dl.children("dd").append("<ul/>");
for (i in entry.yt) {
var $li = $('<li/>');
@yuitowest
yuitowest / README
Created October 14, 2014 05:36
git-flow-completion.zsh 読み込んでも補完が効かない場合
~/.zsh/site-functions/_git を作成
$FPATH に~/.zsh/site-functions を追加する
$ export FPATH=~/.zsh/site-functions:$FPATH