Created
October 8, 2014 20:27
-
-
Save MichaelBlume/25bbb9c709ad47355997 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
execute pathogen#infect() | |
let g:paredit_electric_return=0 | |
let g:lisp_rainbow = 1 | |
set nocompatible | |
" create a backup of files when editing in /tmp | |
set backupdir=~/tmp | |
" swap file directory | |
set dir=/tmp | |
set background=dark | |
highlight LineNr term=NONE | |
set backspace=indent,eol,start | |
set autoindent | |
set smartindent | |
set ignorecase | |
set smartcase | |
set ruler | |
set showmatch | |
set showmode | |
set hlsearch | |
set incsearch | |
set nopaste | |
set number | |
set esckeys | |
set wildmode=longest,list,full | |
syntax on | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
autocmd FileType python set tabstop=4 | |
autocmd FileType python set shiftwidth=4 | |
autocmd FileType python set softtabstop=4 | |
set expandtab | |
set textwidth=79 | |
" filetype on | |
filetype indent on | |
filetype plugin on | |
" Tag List | |
" let Tlist_Auto_Open = 1 | |
" let Tlist_Ctags_Cmd='/usr/bin/ctags' | |
" | |
let python_highlight_all=1 | |
set completeopt+=longest | |
set foldmethod=indent | |
set nofoldenable | |
" Django/Python Coding | |
"remap code complete to ctrl space | |
autocmd FileType python inoremap <S-Tab> <C-x><C-o> | |
autocmd FileType python set omnifunc=pythoncomplete#Complete | |
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS | |
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags | |
autocmd FileType css set omnifunc=csscomplete#CompleteCSS | |
autocmd FileType python inoremap # # | |
"no toolbar | |
set guioptions-=T | |
"no scrollbar | |
set guioptions-=r | |
set guioptions-=L | |
"autoselect. Always. | |
set guioptions+=A | |
colorscheme koehler | |
set guifont=Source\ Code\ Pro\ Medium:h14 | |
map <C-t> :update<cr>:Eval (do (require 'mike) (mike/run-all-tests))<cr> | |
au VimEnter * RainbowParenthesesToggle | |
au Syntax * RainbowParenthesesLoadRound | |
au Syntax * RainbowParenthesesLoadSquare | |
au Syntax * RainbowParenthesesLoadBraces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment