Skip to content

Instantly share code, notes, and snippets.

@williamchanrico
Last active May 24, 2019 17:01
Show Gist options
  • Save williamchanrico/0d9fcf24603413552d1e92a4a017c4a5 to your computer and use it in GitHub Desktop.
Save williamchanrico/0d9fcf24603413552d1e92a4a017c4a5 to your computer and use it in GitHub Desktop.
Backup config for cVim Options
" https://github.com/1995eaton/chromium-vim#cvimrc
let mapleader = ","
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let scrollduration = 250
set smoothscroll
set typelinkhints
set ignorecase
set smartcase
set cncpcompletion " Requires nextCompletionResult setting
set insertmappings
unmap r zr gR cr " Unmap reload bindings
unmap ge gd " Unmap downloads and extension pages
unmap S D " Unmap extra forward and back bindings
unmap z x
" Just like CTRL+F5
map <Leader>r reloadTabUncached
" CTRL+SHIFT+T
map <Leader>t :restore<Space>
" Attach and detach tabs
map W :tabd<CR>
map w :taba<Space>
unmap <C-u> <C-o> <C-y> <C-p> <C-j> <C-k>
imap <A-f> forwardWord
imap <A-b> backwardWord
imap <A-d> deleteForwardWord
imap <A-j> forwardLine
imap <A-k> backwardLine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment