diff --git a/gitconfig b/gitconfig index bedc361..a4a7be0 100644 --- a/gitconfig +++ b/gitconfig @@ -12,3 +12,5 @@ default = current [color] ui = true +[core] + excludesfile = ~/.gitignore diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..702ebda --- /dev/null +++ b/gitignore @@ -0,0 +1 @@ +.ropeproject diff --git a/init.sh b/init.sh index 8be0aca..ce77aea 100755 --- a/init.sh +++ b/init.sh @@ -4,3 +4,7 @@ ln -snf `pwd`/tmux.conf ~/.tmux.conf ln -snf `pwd`/zshrc.local ~/.zshrc.local ln -snf `pwd`/zshrc ~/.zshrc ln -snf `pwd`/gitconfig ~/.gitconfig +ln -snf `pwd`/gitignore ~/.gitignore + +# set up vim +vim +BundleInstall! +qall diff --git a/init_server.sh b/init_server.sh index 59b769c..921cb2e 100755 --- a/init_server.sh +++ b/init_server.sh @@ -4,3 +4,4 @@ ln -snf `pwd`/tmux.server.conf ~/.tmux.conf ln -snf `pwd`/zshrc.local ~/.zshrc.local ln -snf `pwd`/zshrc ~/.zshrc ln -snf `pwd`/gitconfig ~/.gitconfig +ln -snf `pwd`/gitignore ~/.gitignore diff --git a/vimrc b/vimrc index a1428d6..0c18d2a 100644 --- a/vimrc +++ b/vimrc @@ -80,11 +80,6 @@ nnoremap :let notabs=!notabs:if notabs:tabo:else :bn nnoremap :bp -nmap :wincmd k -nmap :wincmd j -nmap :wincmd h -nmap :wincmd l - nnoremap :nohl " save with sudo @@ -112,9 +107,9 @@ endif Bundle 'myusuf3/numbers.vim' -Bundle 'tpope/vim-fugitive' +" Bundle 'tpope/vim-fugitive' -Bundle 'kien/ctrlp.vim' +" Bundle 'kien/ctrlp.vim' Bundle 'scrooloose/nerdtree' nnoremap :NERDTreeToggle @@ -138,14 +133,18 @@ set laststatus=2 Bundle 'bling/vim-bufferline' -" Bundle 'davidhalter/jedi-vim' -" let g:jedi#use_tabs_not_buffers = 0 +Bundle 'davidhalter/jedi-vim' +let g:jedi#use_tabs_not_buffers = 0 +let g:jedi#show_call_signatures = "0" +autocmd FileType python setlocal completeopt-=preview Bundle 'ivyl/vim-bling' -" Bundle 'jmcantrell/vim-virtualenv' +Bundle 'jmcantrell/vim-virtualenv' Bundle 'ervandew/supertab' -Bundle 'rstacruz/sparkup' +" Bundle 'rstacruz/sparkup' " Bundle 'scrooloose/syntastic' +" let g:syntastic_python_flake8_args = "--ignore=E501,W0611,W0401" + " Bundle 'vim-scripts/indentpython.vim' Bundle 'klen/python-mode' let g:pymode_folding = 0 @@ -154,9 +153,12 @@ let g:pymode_lint_on_fly = 1 let g:pymode_lint_ignore = "E501,W0611,W0401," let g:pymode_rope_autoimport_import_after_complete = 1 let g:pymode_doc = 0 -set completeopt=menu +let g:pymode_motion = 0 +let g:pymode_rope_completion = 0 +let g:pymode_lint_cwindow = 0 +" set completeopt=menu -Bundle 'tpope/vim-vividchalk' +" Bundle 'tpope/vim-vividchalk' Bundle 'tomasr/molokai' set background=dark colorscheme molokai