Skip to content

Instantly share code, notes, and snippets.

@tmaeda
Last active August 29, 2015 14:17
Show Gist options
  • Save tmaeda/0b1771d2f3b37cb1ee1b to your computer and use it in GitHub Desktop.
Save tmaeda/0b1771d2f3b37cb1ee1b to your computer and use it in GitHub Desktop.
ghq, peco関係
bind -x '"\C-_":cd $(ghq list -p | peco)' # プロジェクトディレクトリへcd
bind -x '"\C-]":open $(ghq list -p | peco)' # プロジェクトディレクトリをFinder上でopen
# Macのファイルオープン・セーブダイアログでも使えると良いんだけどなー。Cmd + Shift + g で代用。
bind -x '"\C-^":ghq list -p | peco | xargs echo -n | pbcopy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment