Skip to content

Instantly share code, notes, and snippets.

@TSFoster
Last active March 9, 2017 01:08
Show Gist options
  • Save TSFoster/dd88538670daf41ace80 to your computer and use it in GitHub Desktop.
Save TSFoster/dd88538670daf41ace80 to your computer and use it in GitHub Desktop.
cVimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Settings
" --------
set noautofocus
set cncpcompletion
set linkanimations
set dimhintcharacters
set typelinkhints
set smartcase
let hintcharacters = "asdfjkl"
let searchlimit = 100
let scrollstep = 100
let scrollduration = 50
let locale = "uk"
let searchalias g = "google"
let searchengine mdn = "https://developer.mozilla.org/en-US/search?q="
let searchengine stackoverflow = "https://stackoverflow.com/search?q="
let searchalias s = "stackoverflow"
let searchengine feelinglucky = "http://www.google.co.uk/search?btnI&q="
let searchalias l = "feelinglucky"
let searchalias y = "youtube"
let searchengine amazon = "http://www.amazon.co.uk/s/?field-keywords="
let searchalias a = "amazon"
let defaultengine = "feelinglucky"
let mapleader = "<Space>"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Mappings
" --------
map ; :
map b :bookmarks!<Space>
map <Leader>b :bookmarks<Space>
map <Leader>p gp
map <Leader>h :history!<Space>
map <Leader>H :history<Space>
map <A-,> :execute 999<<CR>
map <A-.> :execute 999><CR>
map gh :help<CR>
map gc :chrome://
map T :tabopen<CR>
map , :set numerichints!<CR>
map <Leader>, :settings<CR>
map <Leader>re :open! https://gist.github.com/TSFoster/dd88538670daf41ace80/edit<CR>
map <Leader>ce :open! https://gist.github.com/TSFoster/bbc9e8c68dd9de7728d2/edit<CR>
map <S-Space> <Space>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Blacklist
" ---------
let blacklists = ["*://mail.google.com/*","*://docs.google.com/*","*://*feedbin.com/*","*://www.boston.com/bigpicture*","*://www.theatlantic.com/*infocus*","*://www.babbel.com/*","*://*trello.com/*","*://www.codewars.com/*","*://www.shortcutfoo.com/*","*://getpocket.com/*","*://*netflix.com/*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment