Skip to content

Instantly share code, notes, and snippets.

@yurakawa
Last active January 19, 2016 10:59
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 yurakawa/18483d12e19d586905e5 to your computer and use it in GitHub Desktop.
Save yurakawa/18483d12e19d586905e5 to your computer and use it in GitHub Desktop.
.cVimrc
" Settings
set noautofocus
set cncpcompletion
set nosmoothscroll
set nohud
set autohidecursor
set typelinkhints
let locale = "jp"
let scrollduration = 10
let searchlimit = 40
let searchalias s = "stackoverflow"
let searchalias g = "google"
let searchalias a = "amazon"
let searchalias w = "wikipedia"
let searchengine amazon = "https://www.amazon.co.jp/s/ref=nb_sb_noss_2?__mk_ja_JP=%s&url=search-alias%3Daps&field-keywords=%s"
let searchengine wikipedia = "https://ja.wikipedia.org/wiki/%s"
let searchengine stackoverflow = "http://stackoverflow.com/search?q="
let qmark gm = ["https://mail.google.com/mail/u/0/?shva=1#inbox"]
let qmark g = ["https://github.com/yurakawa"]
let qmark h = ["https://news.ycombinator.com/"]
" Mappings
map as :tabopen github @yurakawa/
map <C-u> scrollPageUp
map <C-d> scrollPageDown
map <C-b> scrollFullPageUp
map <C-f> scrollFullPageDown
map <A-r> nextTab
map <A-e> previousTab
map <C-g> :set smoothscroll!<CR>
map <C-u> rootFrame
map gb :buffers<Space>
map T :tabopen g<Space>
map ga :settings<CR>
" Text boxes
iunmapAll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment