Skip to content

Instantly share code, notes, and snippets.

@andrewpsy
Last active December 17, 2017 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewpsy/87cfef35c03c958b0334 to your computer and use it in GitHub Desktop.
Save andrewpsy/87cfef35c03c958b0334 to your computer and use it in GitHub Desktop.
Andrew's CVimrc
" Settings
set noautofocus
set nosmoothscroll
" set nativelinkorder
set noinsertmappings
" Lettings
let searchlimit = 30
let scrollstep = 60
let hintcharacters = "sadfjklewcmpgh"
let searchalias g = "google"
let searchalias w = "wikipedia"
let searchengine s = "http://stackoverflow.com/search?q="
let completionengines = ['google', 'wikipedia', 'youtube', 'imdb', 'amazon', 'google-maps']
let blacklists = ["https://ide.c9.io/*"]
" Mappings
map q scrollUp
map a scrollDown
map w scrollFullPageUp
map s scrollFullPageDown
map R reloadTabUncached
" Emacs
map <C-a> beginningOfLine
map <C-e> endOfLine
map <C-k> deleteToEnd
map <C-h> deleteChar
map <C-d> deleteForwardChar
map <C-f> forwardChar
map <C-b> backwardChar
map <C-n> forwardLine
map <C-p> backwardLine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment