Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
vichromeの設定
# EscapeをC-gで
nmap <C-g> : Escape
imap <C-g> : Escape
cmap <C-g> : Escape
emap <C-g> : Escape
<C-g> : Escape
# フォーカス移動のキーバインドを追加
cmap <C-n> :FocusNextCandidate
cmap <C-j> :FocusNextCandidate
cmap <C-p> :FocusPrevCandidate
cmap <C-k> :FocusPrevCandidate
# タブ操作をワンキーで
nmap <C-l> ScrollRight
nmap <C-h> ScrollLeft
nmap l :TabFocusNext
nmap h :TabFocusPrev
# URLをコピー( Keysnailと同じキーバインドに )
nmap w :Copy '%url'
nmap W :Copy '<a href="%url">%title</a>'
# livedoorreader閲覧時にj/k/sを無効化
pagecmd http*://reader.livedoor.com/reader/ nmap j <NOP>
pagecmd http*://reader.livedoor.com/reader/ nmap k <NOP>
pagecmd http*://reader.livedoor.com/reader/ nmap s <NOP>
# Twitterでf/rを無効化
pagecmd http*://twitter.com/* nmap f <NOP>
pagecmd http*://twitter.com/* nmap r <NOP>
# Hit a Hintの設定( Keysnailと同じキーバインドに )
nmap e :GoFMode
nmap E :GoFMode --newtab
nmap <C-e> :GoFMode --newtab --continuous
# 全てのページでタブ移動を可能に
pagecmd http*://* nmap l :MoveToNextTab
pagecmd http*://* nmap h :MoveToPrevTab
###エイリアス###
# chrome設定関係
alias e TabOpenNew chrome://extensions/
alias o TabOpenNew chrome://settings/browser
alias d TabOpenNew chrome://downloads
alias h TabOpenNew chrome://history
alias s TabOpenNew chrome://chrome/settings/
alias v OpenOptionPage
alias f TabOpenNew chrome://flags/
# 複数のURLをまとめて開く( クリック募金関連ページ )
alias dff TabOpenNew http://www.cosmo-oil.co.jp/kankyo/charity/ http://www.able.co.jp/company/contribute/new-action/clickable/ http://kakaku.com/donation/ http://www.chintai.net/contribution/index.html http://www.noe.jx-group.co.jp/csr/click/ http://www.sevenbank.co.jp/corp/csr/kankyo_npo_click_2014.html http://www.kirin.co.jp/csv/eco/special/clickdonation/index.html
###キーマップ###
# ウェブページ
nmap <Space>tw :TabOpenNew http://www.twitter.com
nmap <Space>fb :TabOpenNew http://www.facebook.com
nmap <Space>gmail :TabOpenNew https://mail.google.com/mail/#inbox
nmap <Space>gdrive :TabOpenNew?https://drive.google.com
nmap <Space>gmap :TabOpenNew https://www.google.com/maps
nmap <Space>dot :TabOpenNew http://dotinstall.com/
nmap <Space>cacoo :TabOpenNew https://cacoo.com/diagrams/
nmap <Space>gh :TabOpenNew https://github.com/
nmap <Space>imagit :TabOpenNew https://github.com/incheon/imaasa
nmap <Space>woogit :TabOpenNew https://github.com/incheon/wood
nmap <Space>hk :TabOpenNew https://dashboard.heroku.com/apps
nmap <Space>imaprd :TabOpenNew http://incheon-testing-1.herokuapp.com/
nmap <Space>imastg :TabOpenNew http://incheon-staging-1.herokuapp.com/
nmap <Space>gt :TabOpenNew https://gitter.im/incheon/imaasa
nmap <Space>gs :TabOpenNew https://gist.github.com/
nmap <Space>wcg :TabOpenNew http://www.worldcommunitygrid.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.