Skip to content

Instantly share code, notes, and snippets.

@calorie
Last active April 15, 2020 10:28
Show Gist options
  • Save calorie/cd2692a6b3f39f94f1ae to your computer and use it in GitHub Desktop.
Save calorie/cd2692a6b3f39f94f1ae to your computer and use it in GitHub Desktop.
.cvimrc
set nocncpcompletion
set nosmoothscroll
set nohud
set noregex
set noinsertmappings
set noautoupdategist
set nochangelog
set typelinkhints
set defaultnewtabpage
let scrollduration = 10
let searchlimit = 40
let searchalias g = "google"
let mapleader = ","
let barposition = "top"
let typelinkhintsdelay = 0
let hintcharacters = "fdsawerjkiop"
let locale = "jp"
let blacklists = ["*://*/*.pdf", "chrome://*", "https://mail.google.com/*", "https://www.google.com/calendar/*"]
site 'https://www.google.co.jp/*' {
unmap j
unmap k
}
site 'https://www.tumblr.com/*' {
unmap j
unmap k
unmap r
unmap l
}
site 'https://github.com/*' {
unmap l
}
site 'https://tweetdeck.twitter.com/*' {
unmap n
unmap s
}
site 'https://www.youtube.com/*' {
unmap T
}
map ; openCommandBar
map l nextTab
map h previousTab
map <C-l> nextTab
map <C-h> previousTab
map <C-f> scrollFullPageDown
map <C-b> scrollFullPageUp
map s :open google<Space>
map S :open! google<Space>
map i goToInput
map u lastClosedTab
map B :bookmarks!<Space>
map t :tabnew<CR>
map F createActiveTabbedHint
map <Leader>cl :open! chrome://settings/clearBrowserData<CR>
map <Leader>ex :open! chrome://extensions<CR>
map <Leader>gh :open! https://github.com/calorie<CR>
map <Leader>Gh :open https://github.com/calorie<CR>
map <Leader>gi :open! https://gist.github.com/calorie<CR>
map <Leader>Gi :open https://gist.github.com/calorie<CR>
map <Leader>tw :open! http://twitter.com<CR>
map <Leader>Tw :open http://twitter.com<CR>
map <Leader>td :open! https://tweetdeck.twitter.com<CR>
map <Leader>Td :open https://tweetdeck.twitter.com<CR>
map <Leader>gm :open! https://mail.google.com/mail/#index<CR>
map <Leader>Gm :open https://mail.google.com/mail/#index<CR>
map <Leader>so :open! http://stackoverflow.com<CR>
map <Leader>So :open http://stackoverflow.com<CR>
map <Leader>nc :open! http://www.nicovideo.jp<CR>
map <Leader>Nc :open http://www.nicovideo.jp<CR>
map <Leader>fb :open! http://www.facebook.com<CR>
map <Leader>Fb :open http://www.facebook.com<CR>
map <Leader>jo :open! http://www.jorudan.co.jp<CR>
map <Leader>Jo :open http://www.jorudan.co.jp<CR>
map <Leader>yt :open! https://www.youtube.com<CR>
map <Leader>Yt :open https://www.youtube.com<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment