Last active
February 12, 2018 19:12
-
-
Save pamo/c36cb4f95f417019412bf8bbae9a56b9 to your computer and use it in GitHub Desktop.
cvim config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Settings | |
let barposition = "bottom" | |
" alias ':g' to ':tabnew google' | |
command g tabnew google | |
let completionengines = ["google", "amazon", "imdb"] | |
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/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*", "https://*.typeform.com/*","https://*.slack.com/*","http://doodle.com/*","https://www.evernote.com/*"] | |
" blacklists prefixed by '@' act as a whitelist | |
set nosmoothscroll | |
let mapleader = "," | |
"""" Search engines | |
let searchengine im = "http://www.imdb.com/find?q=%s&s=all" | |
let searchalias g = "google" | |
let completionengines = ["google", "amazon", "imdb"] | |
""""""""""""" Mappings | |
map <Leader>r reloadTabUncached | |
map s nextTab | |
map a previousTab | |
map d closeTab | |
map gb goToTab | |
map u lastClosedTab | |
map <C-h> :set hud!<CR> | |
map <C-u> rootFrame | |
map <C-d> scrollPageDown | |
map <C-e> scrollPageUp | |
"iunmap <C-y> deleteWord | |
"imap <C-m> deleteWord | |
""" blacklists | |
site '*://*.reddit.com/*' { | |
unmap j | |
unmap k | |
} | |
site '*://*github.com/*' { | |
unmap t | |
unmap ? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment