Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@izahn
Last active December 22, 2015 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save izahn/ba44bbe08c3903243516 to your computer and use it in GitHub Desktop.
Save izahn/ba44bbe08c3903243516 to your computer and use it in GitHub Desktop.
" Settings
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set numerichints
set typelinkhints
let barposition = "bottom"
let searchengine stackoverflow = "https://stackoverflow.com/search?q=%s"
let searchengine github = "https://github.com/search?utf8=%E2%9C%93&q=%s"
let completionengines = ["duckduckgo", "stackoverflow", "github", "google", "wikipedia"]
let searchalias d = "duckduckgo" " Create a shortcut for search engines.
let searchalias g = "google" " For example, typing ':tabnew g example'
let searchalias w = "wikipedia" " would act the same way as ':tabnew google example'
let searchalias s = "stackoverflow"
let searchalias h = "github"
" Mappings
" You can use <Space>, which is interpreted as a
" literal " " character, to enter buffer completion mode
map gb :buffer<Space>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment