Created
October 15, 2012 15:38
-
-
Save skyler/3893145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Skyler's .vimrc | |
set nocompatible " be iMproved! | |
filetype plugin indent on " plugin and indent are required for Pathogen | |
syntax on | |
colorscheme jellybeans | |
" Pathogen | |
call pathogen#infect() | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set nowrap | |
set formatoptions+=r | |
set number | |
set backspace=indent,eol,start | |
" return to your last line when reopening a file | |
set viminfo='10,\"100,:20,%,n~/.viminfo | |
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif | |
" Enable 256 colors for iTerm (can this be restricted only to iTerm?) | |
let &t_Co=256 | |
" Highlight lines over 80 chars length | |
" Helpful for Python development | |
highlight OverLength ctermbg=55 ctermfg=white guibg=guibg=#5f0087 | |
match OverLength /\%>80v.\+/ | |
nnoremap <Bar> :call system('mac_copy', @0)<CR><ESC> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment