Skip to content

Instantly share code, notes, and snippets.

@Snger
Last active February 10, 2022 08:06
Show Gist options
  • Save Snger/fc5aee27f941b2e9aa18c0d4f5161cf5 to your computer and use it in GitHub Desktop.
Save Snger/fc5aee27f941b2e9aa18c0d4f5161cf5 to your computer and use it in GitHub Desktop.
" Settings
let blacklists = ["https://feedly.com/*","http://devdocs.io/*","https://www.shortcutfoo.com/*","https://sourcegraph.com/*","https://wasm-cn.org/*","https://yun.kujiale.com/*","http://erp.16888.hk/*","http://192.168.20.232/*"]
let searchengine baidu = "https://baidu.com/s?wd="
let searchengine zhihu = "https://zhihu.com/search?type=content&q="
let searchengine github = "https://github.com/search?q="
let searchengine stackoverflow = "https://stackoverflow.com/search?q="
let completionengines = ["duckduckgo", "github", "stackoverflow", "baidu", "zhihu", "wikipedia", "google-maps"]
let defaultengine = "duckduckgo"
let searchalias g = "github"
let searchalias d = "duckduckgo"
let searchalias s = "stackoverflow"
let searchalias b = "baidu"
let searchalias z = "zhihu"
" Command
command g tabnew duckduckgo
" Mapping
" map f createTabbedHint
" map F createHint
map a :tabnew duckduckgo<Space>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment