" Don't try to be vi compatible set nocompatible " TODO: Load plugins here (pathogen or vundle) " Turn on syntax highlighting syntax on " Security set modelines=0 " Show line numbers set number " Show file stats set ruler " Blink cursor on error instead of beeping (grr) set visualbell " Encoding set encoding=utf-8 " Whitespace set formatoptions=tcqrn1 set tabstop=2 set shiftwidth=2 set softtabstop=2 set expandtab set noshiftround " Cursor motion set scrolloff=3 set backspace=indent,eol,start set matchpairs+=<:> " use % to jump between pairs " Move up/down editor lines nnoremap j gj nnoremap k gk " Allow hidden buffers set hidden " Rendering set ttyfast " Status bar set laststatus=2 " Last line set showmode set showcmd " Searching set hlsearch set incsearch set ignorecase set smartcase set showmatch map :let @/='' " clear search " Remap help key. inoremap :set invfullscreena nnoremap :set invfullscreen vnoremap :set invfullscreen " Formatting map q gqip set t_Co=256 set background=dark let g:solarized_termcolors=256 let g:solarized_termtrans=1 "colorscheme slate set mouse= filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() "call vundle#begin('~/some/path/here') Plugin 'VundleVim/Vundle.vim' Plugin 'tomasiser/vim-code-dark' Plugin 'tpope/vim-fugitive' Plugin 'git://git.wincent.com/command-t.git' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'preservim/nerdtree' Plugin 'Xuyuanp/nerdtree-git-plugin' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required colorscheme codedark let g:airline_theme='ayu_dark' nnoremap n :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :NERDTreeFind