set nocompatible filetype off " general settings set encoding=utf-8 let mapleader="," set nu set laststatus=2 set hidden set incsearch " hide showmode because its in statusline set noshowmode " Indent settings - PEP8 compatibility set expandtab set autoindent set tabstop=4 set softtabstop=4 set textwidth=79 set shiftwidth=4 set fileformat=unix "highlight cursorline cterm=none ctermbg=darkred ctermfg=white guibg=darkred guifg=white hi cursorline cterm=none term=none ctermbg=236 set cursorline "enable relative line numbers set number relativenumber "set highlight cursorcolumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white nnoremap c :set cursorline! cursorcolumn! "highlight matching brace when closing brace, flash for 2 tenths set showmatch set matchtime=2 let pythong_highlight_all = 1 syntax on set foldmethod=indent set foldlevel=99 " specify the location of the splits set splitbelow set splitright " remap ctrl + hjkl to move between splits nnoremap nnoremap nnoremap nnoremap " use jj to escape insert mode inoremap jj inoremap jk inoremap kj nnoremap o nnoremap l :ls:b nnoremap :bnext nnoremap :bprev nnoremap p :CtrlPBuffer nnoremap za " NERDTree, open/close toggle map :NERDTreeToggle "lightline colorscheme let g:lightline = {'colorscheme': 'jellybeans',} " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' Plugin 'tpope/vim-fugitive' Plugin 'kien/ctrlp.vim' Plugin 'scrooloose/nerdtree' Plugin 'tmhedberg/SimpylFold' Plugin 'vim-scripts/indentpython.vim' Plugin 'scrooloose/syntastic' " PEP8 checking plugin Plugin 'nvie/vim-flake8' "Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'} Plugin 'itchyny/lightline.vim' "Plugin 'klen/python-mode' Plugin 'itchyny/calendar.vim' Plugin 'davidhalter/jedi-vim' Plugin 'tpope/vim-surround' Plugin 'ap/vim-buftabline' Plugin 'wellle/targets.vim' call vundle#end() " required filetype plugin indent on " required