Skip to content

Instantly share code, notes, and snippets.

@rlridenour
Last active June 15, 2016 14:21
Show Gist options
  • Save rlridenour/a955dc986d49aa8215b0 to your computer and use it in GitHub Desktop.
Save rlridenour/a955dc986d49aa8215b0 to your computer and use it in GitHub Desktop.
Config file for cVim
let completionengines = ["google", "amazon", "imdb"]
let nextmatchpattern = "((?!first)(next|>|›|»|forward| )+)"
let fullpagescrollpercent = 65
let searchalias g = "google" " Create a shortcut for search engines.
" For example, typing ':tabnew g example'
" would act the same way as ':tabnew google example'
let blacklists = ["https://mail.google.com/*", "https://docs.google.com/*", "https://www.codeacademy.com/*"]
" blacklists prefixed by '@' act as a whitelist
readability -> {{
window.baseUrl='http://www.readability.com';
window.readabilityToken='tdSrwDMSVtNgAw4a7tA5jufuhMaXr8LYQK5a9Baw';
var s=document.createElement('script');
s.setAttribute('type','text/javascript');
s.setAttribute('charset','UTF-8');
s.setAttribute('src',baseUrl+'/bookmarklet/read.js');
document.documentElement.appendChild(s);
}}
let mapleader = ","
" Mappings
map <Leader>r reloadTabUncached
map <Leader>x :restore<Space>
map v :call readability<CR>
" Toggle the current HUD display value
map <C-h> :set hud!<CR>
" Switch between alphabetical hint characters and numeric hints
map <C-i> :set numerichints!<CR>
" Displays your public IP address in the status bar
map ci :call getIP<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment