Skip to content

Instantly share code, notes, and snippets.

@halberom
Last active September 29, 2017 08:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halberom/41fed3252dee2471084f4597b944dd7d to your computer and use it in GitHub Desktop.
Save halberom/41fed3252dee2471084f4597b944dd7d to your computer and use it in GitHub Desktop.
.cvimrc
" Settings
set hud
set nosmoothscroll
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set typelinkhints
set defaultnewtabpage
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let locale = "uk" " 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 = "asdfghjkl"
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'
" Open all of these in a tab with `gna`
let qmark a = ["http://www.reddit.com", "http://www.google.com", "http://twitter.com"]
let qmark g = ["https://gitlab.com/gitlab-org/gitlab-runner/commits/master", "https://gitlab.com/gitlab-org/gitlab-ce/commits/master"]
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*"]
" blacklists prefixed by '@' act as a whitelist
let mapleader = ","
" Mappings
unmap s
unmap w
unmap e
"map j :execute 3j<CR>
"map k :execute 3k<CR>
map <C-f> scrollFullPageDown
map <C-b> scrollFullPageUp
map d closeTab
map u lastClosedTab
map B :bookmarks!<Space>
map b :buffer!<Space>
map <C-u> rootFrame
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment