Skip to content

Instantly share code, notes, and snippets.

@Layzie
Created October 11, 2011 15:58
Show Gist options
  • Save Layzie/1278499 to your computer and use it in GitHub Desktop.
Save Layzie/1278499 to your computer and use it in GitHub Desktop.
Vichrome settings
### Sample Settings
# aliases
# in this example you can open extensions page by the command ':ext'
# and Chrome's option page by the command ':option'
alias ext OpenNewTab chrome://extensions/
alias option OpenNewTab chrome://settings/browser
# mappings for opening your favorite web page
nmap <Space>tw :OpenNewTab http://www.twitter.com
nmap <Space>gr :OpenNewTab http://www.google.com/reader
nmap <Space>m :OpenNewTab https://mail.google.com/mail/#inbox
# F for continuous f-Mode
# this is recomended setting but commented out by default.
# if you want to use this setting, please delete '#'
#nmap F :GoFMode --newtab --continuous
# pagecmd offers you page specific key mapping.
# in this example you can use <C-l>, <C-h> for moving between tabs
# on all web pages regardless of your ignored list setting
# because pagecmd has higher priority than ignored URLs.
pagecmd http*://* nmap <C-l> :MoveToNextTab
pagecmd http*://* nmap <C-h> :MoveToPrevTab
pagecmd http*://github.com/* nmap h <Nop>
pagecmd http*://github.com/* nmap j <Nop>
pagecmd http*://github.com/* nmap k <Nop>
pagecmd http*://github.com/* nmap l <Nop>
pagecmd http*://github.com/* nmap <S-h> <Nop>
pagecmd http*://github.com/* nmap <S-j> <Nop>
pagecmd http*://github.com/* nmap <S-k> <Nop>
pagecmd http*://github.com/* nmap <S-l> <Nop>
pagecmd http*://github.com/* nmap ? <Nop>
pagecmd http*://github.com/* nmap t <Nop>
pagecmd http*://github.com/* nmap s <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap j <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap k <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap o <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap e <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap t <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap s <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap a <Nop>
pagecmd http*://b.hatena.ne.jp/* nmap b <Nop>
pagecmd http*://www.tumblr.com/* nmap r <Nop>
pagecmd http*://www.tumblr.com/* nmap a <Nop>
pagecmd http*://www.tumblr.com/* nmap q <Nop>
pagecmd http*://www.tumblr.com/* nmap w <Nop>
pagecmd http*://www.tumblr.com/* nmap e <Nop>
pagecmd http*://www.tumblr.com/* nmap j <Nop>
pagecmd http*://www.tumblr.com/* nmap k <Nop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment