dotfile / vimrc

" bundles
" call pathogen#infect()
call pathogen#runtime_append_all_bundles() 
call pathogen#helptags()

syntax on
filetype plugin on
filetype plugin indent on

colorscheme elflord

set cursorline
set noic
set softtabstop=4
set expandtab
set nowrap        " don't wrap lines
set tabstop=4     " a tab is four spaces
set backspace=indent,eol,start
                  " allow backspacing over everything in insert mode
set autoindent    " always set autoindenting on
set copyindent    " copy the previous indentation on autoindenting
set number        " always show line numbers
set shiftwidth=4  " number of spaces to use for autoindenting
set shiftround    " use multiple of shiftwidth when indenting with '<' and '>'
set showmatch     " set show matching parenthesis
set ignorecase    " ignore case when searching
set smartcase     " ignore case if search pattern is all lowercase,
                  "    case-sensitive otherwise
set hlsearch      " highlight search terms
set incsearch     " show search matches as you type
" set nobackup
" set noswapfile
set pastetoggle=<F2>
set nocompatible

filetype on
filetype plugin on

autocmd BufWritePost *.py call Flake8()

" nmap <F8> :TagbarToggle<CR> 
let g:tagbar_usearrows = 1
nnoremap <leader>l :TagbarToggle<CR>