Last active
January 6, 2022 05:27
-
-
Save matthewfallshaw/3c970951d108b5b9f7830c8232642eaa to your computer and use it in GitHub Desktop.
cVimrc for Chrome extension https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
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
let barposition = 'bottom' | |
let mapleader = ',' | |
map W :tabdetach<CR> | |
unmap S | |
unmap D | |
" Blacklisted sites (cVim disabled) | |
let blacklists = ["https://smile.amazon.com/*","https://www.netflix.com/*","https://cad.onshape.com/*","https://earth.google.com/*","http://octopi.local/*","http://homeassistant.local/*"] | |
" Site specific configuration | |
site "https://photos.google.com/*" { | |
unmap D R A / x ? z | |
map <Leader>/ openSearchBar | |
map <Leader>? openSearchBarReverse | |
} | |
site "https://mail.google.com/*" { | |
unmapAll | |
map <Leader>/ openSearchBar | |
map <Leader>? openSearchBarReverse | |
map W :tabdetach<CR> | |
} | |
site "https://contacts.google.com/*" { | |
unmap / | |
map <Leader>/ openSearchBar | |
} | |
site "https://drive.google.com/*" { | |
unmap / | |
map <Leader>/ openSearchBar | |
} | |
site "https://www.youtube.com/*" { | |
unmap t | |
} | |
site "https://app.asana.com/0/inbox/*" { | |
unmap k j h s f i u | |
} | |
site "https://calendar.google.com/*" { | |
unmapAll | |
map <Leader>/ openSearchBar | |
map <Leader>? openSearchBarReverse | |
map W :tabdetach<CR> | |
} | |
site "https://gist.github.com/*" { | |
unmap s / ? gc gr | |
map <Leader>/ openSearchBar | |
map <Leader>? openSearchBarReverse | |
} | |
site "https://github.com/*" { | |
unmapAll | |
map gg scrollToTop | |
map G scrollToBottom | |
map n nextSearchResult | |
map N previousSearchResult | |
map <Leader>/ openSearchBar | |
map <Leader>? openSearchBarReverse | |
map W :tabdetach<CR> | |
} | |
" vi: filetype=vi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment