Skip to content

Instantly share code, notes, and snippets.

@peidong
peidong / sVimrc
Last active December 11, 2016 01:23
set smoothscroll
let fullpagescrollpercent = 85
let lastactivetablimit = 50
let lastclosedtablimit = 50
let scrollduration = 30
let scrollstep = 60
let zoomstep = 10
let hintcharacters = "asdfgqwertzxcvb"
let homeurl = "http://google.com"
let mapleader = ";"
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
@peidong
peidong / cVimrc
Last active August 29, 2015 14:19
cVimrc for Chrome extension
map k scrollPageUp
map j scrollPageDown
map u scrollFullPageUp
map d scrollFullPageDown
site '*://mail.google.com/*' {
unmap j
unmap k
unmap x
}
site '*://www.sharelatex.com/*' {