Skip to content

Instantly share code, notes, and snippets.

@harababurel
Last active November 26, 2020 13:03
Show Gist options
  • Save harababurel/ba0224fbd6670ede08e03937c1faa230 to your computer and use it in GitHub Desktop.
Save harababurel/ba0224fbd6670ede08e03937c1faa230 to your computer and use it in GitHub Desktop.
" Settings
set hud
set smoothscroll
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set noscalehints " do not animate link hints as they appear
set linkanimations " show fade effect when link hints open and close
set ignorecase
set incsearch
set noautofocus " do not let websites focus an input box when first loaded
let homedirectory = "/usr/local/google/home/sergiup"
let barposition = "top"
let blacklists = ["*://stadia.google.com/*"]
let searchengine reddit = ["https://www.reddit.com", "https://www.reddit.com/r/%s"]
let searchengine youtube = ["https://www.youtube.com", "https://www.youtube.com/results?search_query=%s"]
let searchengine yt = ["https://www.youtube.com", "https://www.youtube.com/results?search_query=%s"]
let searchengine discogs = ["https://www.discogs.com", "https://www.discogs.com/search/?q=%s&type=all"]
let searchengine moma = ["http://moma/", "http://moma/%s"]
let searchengine go = ["https://goto.google.com", "https://goto.google.com/%s"]
let searchengine mail = ["https://mail.google.com/mail/u/0/", "https://mail.google.com/mail/u/0/#search/%s"]
let searchengine calendar = ["https://calendar.google.com", "https://calendar.google.com/calendar/embed?src=%s@google.com"]
let searchengine who = ["http://teams/", "http://who/%s"]
let searchengine mdb = ["http://mdb/", "http://mdb/%s"]
let searchengine irm = ["http://irm/", "http://irm/%s"]
let searchengine buganizer = ["http://b/", "http://b/%s"]
let searchengine codesearch = ["http://cs/", "http://cs/%s"]
let searchengine songsterr = "https://www.songsterr.com/a/wa/search?pattern=%s"
let searchengine bgg = "https://boardgamegeek.com/geeksearch.php?action=search&objecttype=boardgame&q=%s"
let completionengines = ["google", "reddit", "youtube", "moma", "go", "who", "buganizer", "mail", "calendar", "songsterr", "bgg", "codesearch", "irm"]
let searchalias g = "google"
let searchalias b = "buganizer"
let searchalias r = "reddit"
let searchalias y = "youtube"
let searchalias m = "mail"
let searchalias c = "calendar"
let searchalias cs = "codesearch"
map <Leader>x :restore<Space>
getIP() -> {{
httpRequest({url: 'http://api.ipify.org/?format=json', json: true},
function(res) { Status.setMessage('IP: ' + res.ip); });
}}
" Displays your public IP address in the status bar
map ci :call getIP<CR>
" let defaultengine="moma"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment