Skip to content

Instantly share code, notes, and snippets.

@stcastle
Last active July 7, 2016 22:45
Show Gist options
  • Save stcastle/d39c1df5c209276313ae2587d7f75ec8 to your computer and use it in GitHub Desktop.
Save stcastle/d39c1df5c209276313ae2587d7f75ec8 to your computer and use it in GitHub Desktop.
cVimrc settings for my cVim workflow on Google Chrome Browser
" Links
" Use f to open in current tab
" F to open in new active tab
" and hold shift to when typing code to open in new background tab
map F createActiveTabbedHint
" Movement
map h goBack
map l goForward
map H scrollLeft
map L srollRight
unmap d
map m scrollPageDown
" map u scrollUp
map M scrollFullPageDown
map U scrollFullPageUp
" SEARCH ENGINES
" alias ':g' to ':tabnew google'
command g tabnew google
let searchalias g = "google"
" Add yubnub
let searchengine yubnub = "http://yubnub.org/parser/parse?command=%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", "wikipedia", "duckduckgo", "yubnub"]
command yn tabnew yubnub
let searchalias yn = "yubnub"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment