Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 54 lines (44 sloc) 1.558 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
if filereadable(expand("~/.gvimrc.before"))
  source ~/.gvimrc.before
endif

set guipty "attempts pseudo-tty
set co=90 "number of columns
set guioptions-=T "hide toolbar
set guioptions-=t "hide tearoff menu items
set guioptions-=l "hide left scrollbar
set guioptions-=L "hide left scrollbar when vert window split
set guioptions-=r "hide right scrollbar
set guioptions-=R "hide right scrollbar when vert window split
if has('fullscreen')
  set fuoptions=maxvert,maxhorz,background:Normal "fullscreen options
end

set guicursor=n-c:block-Cursor-blinkon0
set guicursor+=v:block-Cursor-blinkon0
set guicursor+=i-ci:ver10-Cursor-blinkon0

if has("gui_macvim")
  let macvim_skip_cmd_opt_movement = 1
  noremap <D-Left> <Home>
  noremap! <D-Left> <Home>
  noremap <M-Left> <C-Left>
  noremap! <M-Left> <C-Left>

  noremap <D-Right> <End>
  noremap! <D-Right> <End>
  noremap <M-Right> <C-Right>
  noremap! <M-Right> <C-Right>

  noremap <D-Up> <C-Home>
  inoremap <D-Up> <C-Home>
  imap <M-Up> <C-o>{

  noremap <D-Down> <C-End>
  inoremap <D-Down> <C-End>
  imap <M-Down> <C-o>}

  imap <M-BS> <C-w>
  inoremap <D-BS> <esc>my0c`y

  noremap <d-1> :e ~/Dropbox/Notes/inbox.txt<cr>
  noremap <d-2> :lcd ~/Dropbox/Notes<cr>:CtrlP<cr>
  noremap <d-3> :e $MYVIMRC<cr>
  noremap <d-4> :e $MYGVIMRC<cr>
  noremap <d-5> :so $MYVIMRC<cr>:so $MYGVIMRC<cr>
endif

if filereadable(expand("~/.gvimrc.after"))
  source ~/.gvimrc.after
endif
Something went wrong with that request. Please try again.