kojinho10
9/1/2015 - 4:49 PM

.cvimrc

" Settings
set nohud
set nosmoothscroll
set cncpcompletion
set autoupdategist
set completeonopen
set nativelinkorder
"set localconfig
"let configpath= "C:/Users/koji0708/.cvimrc"
set noautofocus " The opposite of autofocus; this setting stops
                " sites from focusing on an input box when they load
set autoupdategist
set typelinkhints
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let locale = "jp" " Current choices are 'jp' and 'uk'. This allows cVim to use sites like google.co.uk
                  " or google.co.jp to search rather than google.com. Support is currently limited.
                  " Let me know if you need a different locale for one of the completion/search engines
let hintcharacters = "asdfgqwertzxcvb"
let searchengine dogpile = "http://www.dogpile.com/search/web?q=%s" " If you leave out the '%s' at the end of the URL,
                                                                    " your query will be appended to the link.
                                                                    " Otherwise, your query will replace the '%s'.
let completionengines = ["google", "amazon", "imdb", "dogpile"]
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'
" blacklists prefixed by '@' act as a whitelist                           
let mapleader=","
unmapAll
map j scrollDown
map k scrollUp
map <C-d> scrollPageDown
map <C-u> scrollPageUp
map i goToInput
map A goToLastInput
map f createHint
map / openSearchBar
map n nextSearchResult
map N previousSearchResult
map . repeatCommand
map M<*> addQuickMark
map go<*> openQuickMark
map gn<*> openQuickMarkTabbed
map <leader>b :bookmarks<Space>
map r reloadTab
map <C-r> :reload<CR>
map x closeTab
map du :duplicate<CR>

site '*://inbox.google.com/*'{
  unmapAll
}
site '*://outlook.office.com/*'{
  unmapAll
}
site '*://localhost:*.ipynb'{
  unmapAll
}

"global setting
map gg scrollToTop
map G scrollToBottom
map H goBack
map L goForward
map J nextTab
map <down> nextTab
map tL lastTab
map K previousTab
map <up> previousTab
map tH firstTab
map tn :tabnew google<CR> 
map h previousTab
map l nextTab
map : openCommandBar
map mf createMultiHint
map F createTabbedHint
map yy yankDocumenturl