Skip to content

Instantly share code, notes, and snippets.

@fivesmallq
Last active December 11, 2015 00:19
Show Gist options
  • Save fivesmallq/4516166 to your computer and use it in GitHub Desktop.
Save fivesmallq/4516166 to your computer and use it in GitHub Desktop.
vichrome 配置
http*://mail.google.com/*
http*://www.google.co*/reader/*
http*://docs.google.com/*
http*://www.google.com/calendar/*
http*://www.qingcloud.com/*
http*://pbsz.ebank.cmbchina.com/*
http*://console.qingcloud.com/terminal/*
http*://www.taobao.com/*
http*://www.alipay.com/*
### 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 TabOpenNew chrome://extensions/
alias option TabOpenNew chrome://settings/browser
alias downloads TabOpenNew chrome://downloads
alias history TabOpenNew chrome://history
# mappings for opening your favorite web page
nmap <Space>tw :TabOpenNew http://www.twitter.com
nmap <Space>gr :TabOpenNew https://www.google.com/reader
nmap <Space>mail :TabOpenNew http://mail.novacloud.com/
nmap <Space>db :TabOpenNew http://www.douban.com
nmap <Space>wb :TabOpenNew http://www.weibo.com
nmap <Space>pp :TabOpenNew https://dpaste.de/
nmap <Space>mk :TabOpenNew https://stackedit.io/
nmap <Space>pro :TabOpenNew http://www.processon.com/
#nmap <Space>pp :TabOpenNew http://pastie.org/
# F for continuous f-Mode
# this is recomended setting but commented out by default.
# if you want to use this setting, use the following
#nmap F :GoFMode --newtab --continuous
# you can use <DISCARD> to discard the key so that chrome's default
# action isn't triggered.
#nmap <BS> <DISCARD>
# if you want to change the key used to escape EmergencyMode mode,
# use emap like the following
#emap <ESC> :Escape
## 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 * nmap <C-l> :TabFocusNext
pagecmd * nmap <C-h> :TabFocusPrev
# 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>
nmap <C-f> <DISCARD>
@fivesmallq
Copy link
Author

还是用chrome自己的ctrl-f吧

@fivesmallq
Copy link
Author

加一个markdown的在线网站

@fivesmallq
Copy link
Author

加一个类似visio的在线流程设计软件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment