Skip to content

Instantly share code, notes, and snippets.

@hdemon
Created July 9, 2013 07:22
Show Gist options
  • Select an option

  • Save hdemon/5955356 to your computer and use it in GitHub Desktop.

Select an option

Save hdemon/5955356 to your computer and use it in GitHub Desktop.
vichrome設定
### Sample Settings
map i <NOP>
map o <NOP>
map j <NOP>
map ; <NOP>
pagecmd * nmap o :TabFocusNext
pagecmd * nmap i :TabFocusPrev
pagecmd * nmap j :PageHalfDown
pagecmd * nmap ; :PageHalfUp
pagecmd * nmap <M-j> :ScrollDown
pagecmd * nmap <M-;> :ScrollUp
pagecmd * nmap <M-i> :BackHist
pagecmd * nmap <M-o> :ForwardHist
pagecmd * nmap r :Reload
pagecmd * nmap w :TabCloseCurrent
# almost all Vichrome functions don't work properly for pdf contents
# so it's useful to enable default key bindings for pdf file.
pagecmd *.pdf nmap <C-f> <NOP>
# if you want to use twitter web's key binding, write settings like below
#pagecmd http*://twitter.com/* nmap f <NOP>
#pagecmd http*://twitter.com/* nmap r <NOP>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment