Skip to content

Commit

Permalink
Updatez
Browse files Browse the repository at this point in the history
  • Loading branch information
oldpatricka committed Feb 5, 2013
1 parent b7a3040 commit 860f874
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
19 changes: 15 additions & 4 deletions home/.vimrc
@@ -1,15 +1,20 @@
set nocompatible
filetype on
filetype off

" Set up vundle
set rtp+=~/.vim/vundle.git/
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

" Bundles (use :BundleInstall to install)
Bundle 'gmarik/vundle'
Bundle 'tpope/vim-fugitive'
Bundle 'ervandew/supertab'
Bundle 'altercation/vim-colors-solarized'
Bundle 'git://github.com/kien/ctrlp.vim.git'
Bundle 'klen/python-mode'
Bundle 'kien/ctrlp.vim'
Bundle 'kevinw/pyflakes-vim'
Bundle 'tsaleh/vim-matchit'
"Bundle 'klen/python-mode'

let mapleader = ","
syntax on
Expand All @@ -28,7 +33,7 @@ filetype plugin indent on
" Disable Python folding
let g:pymode_folding = 0
let g:pymode_rope_goto_def_newwin = "new"
let g:pymode_lint_ignore = "W,E501"
let g:pymode_lint_ignore = "W,E501,E128,E126,E127"
" Highlight the 80 column line
set colorcolumn=81
highlight ColorColumn ctermbg=lightgrey guibg=lightgrey
Expand Down Expand Up @@ -58,6 +63,9 @@ set backspace=2
set expandtab
set incsearch

" tab size of 2 for html
autocmd FileType html setlocal shiftwidth=2 tabstop=2

" Setup Ctrl-P
let g:ctrlp_map = '<c-t>'
let g:ctrlp_working_path_mode = 2
Expand All @@ -68,8 +76,11 @@ function! StripWhitespace ()
endfunction
map <leader>s :call StripWhitespace ()<CR>
" nice paste toggle
set pastetoggle=<leader>p

" put backups somewhere that isn't annoying
set backupdir=~/.vim/backup

if has("mouse")
set mouse=a
Expand Down
4 changes: 2 additions & 2 deletions home/.zshrc
Expand Up @@ -16,6 +16,8 @@ export INTERACTIVE_COMMENTS="true"
# Comment this out to disable weekly auto-update checks
export DISABLE_AUTO_UPDATE="true"

export EDITOR=/usr/local/bin/vim

# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"

Expand All @@ -32,8 +34,6 @@ source $ZSH/oh-my-zsh.sh

#aliases
alias git='nocorrect hub'
source /Users/patricka/.rvm/scripts/rvm

# Customize to your needs...
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

0 comments on commit 860f874

Please sign in to comment.