From 59d034f68ee110f7e5f499cf0f6a4d298dd57b4d Mon Sep 17 00:00:00 2001 From: "Cornejo, Brandon" Date: Fri, 5 Jun 2015 13:01:20 -0500 Subject: [PATCH] Update Vundle, add flake-8 stuff for vi --- vimrc | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index da7f8a6..7f4da5c 100644 --- a/vimrc +++ b/vimrc @@ -12,11 +12,13 @@ if has("autocmd") filetype indent on filetype plugin on set ofu=syntaxcomplete#Complete + autocmd FileType python map 8 :call Flake8() endif " basic options syntax on set number +set relativenumber set nowrap set autoindent @@ -66,22 +68,30 @@ imap imap " lets setup vundle -set rtp+=~/.vim/bundle/vundle/ +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() call vundle#rc() " vundle bundles -Bundle 'gmarik/vundle' +Plugin 'gmarik/Vundle.vim' " bundles on github -Bundle 'fholgado/minibufexpl.vim.git' -Bundle 'Lokaltog/vim-powerline.git' -Bundle 'Lokaltog/vim-distinguished.git' -Bundle 'scrooloose/nerdtree.git' -Bundle 'ervandew/supertab.git' -Bundle 'myusuf3/numbers.vim.git' +Plugin 'fholgado/minibufexpl.vim.git' +Plugin 'Lokaltog/vim-powerline.git' +Plugin 'Lokaltog/vim-distinguished.git' +Plugin 'scrooloose/nerdtree.git' +Plugin 'ervandew/supertab.git' +Plugin 'myusuf3/numbers.vim.git' +Plugin 'majutsushi/tagbar.git' +Plugin 'nvie/vim-flake8.git' + +call vundle#end() +filetype plugin indent on " toggle showing nerd-tree :nmap e :NERDTreeToggle +" toggle showing tagbar +nmap r :TagbarToggle " end tags with a key imap ,/