Skip to content

Instantly share code, notes, and snippets.

@mattlenz
Created July 6, 2012 05:08
Show Gist options
  • Save mattlenz/3058227 to your computer and use it in GitHub Desktop.
Save mattlenz/3058227 to your computer and use it in GitHub Desktop.
vimrc
set shell=bash\ -i
silent !defaults write org.vim.MacVim MMTextInsetTop 0
silent !defaults write org.vim.MacVim MMTextInsetRight 0
silent !defaults write org.vim.MacVim MMTextInsetBottom 0
silent !defaults write org.vim.MacVim MMTextInsetLeft 0
let mapleader=","
colorscheme Solarized
set background=dark
set guifont=Monaco:h13
set cursorline
set visualbell
set shortmess=atI
set go-=T
set go-=r
set go-=R
set go-=L
set scrolloff=10
set cmdheight=2
set statusline=%<%f\ (%{&ft})\ %-4(%m%)%=%-10(%3l,%02c%)
set laststatus=2
let g:NERDTreeWinPos="right"
map <Leader><Leader> <C-^>
map <C-h> <C-w>h
map <C-k> <C-w>k
map <C-k> <C-w>k
map <C-l> <C-w>l
map <Up> <nop>
map <Down> <nop>
map <Left> <nop>
map <Right> <nop>
imap <Up> <nop>
imap <Down> <nop>
imap <Left> <nop>
imap <Right> <nop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment