set encoding=utf-8
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'Raimondi/delimitMate'
Plugin 'tpope/vim-commentary'
call vundle#end()
filetype plugin indent on
set autoindent
set tabstop=4
set expandtab
set softtabstop=4
set smartindent
set shiftwidth=4
set cindent
set autoread
set hls
set backspace=eol,start,indent
set title
set nu
set mouse+=a
set relativenumber
set history=256
set clipboard=unnamed
set ruler
set ignorecase
set laststatus=2
set statusline=\ %<%l:%v\ [%p]%=%a\ %h%m%r\ %F\
set noesckeys
let mapleader="\<Space>"
inoremap jk <ESC>
" inoremap <C-n> <C-j>
" inoremap <C-p> <C-k>
nnoremap <leader>w :w<CR>
nnoremap <leader>q :wq<CR>
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
nnoremap <leader>e :NERDTreeToggle<CR>
nmap gcc <Plug>Commentary
vmap gc <Plug>Commentary
let delimitMate_expand_cr=1
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_nr_show = 1
if has("syntax")
syntax on
endif
color molokai
"colo onehalfdark