vim
syntax on
let mapleader=" "
set number
set norelativenumber
set cursorline
set wrap
set showcmd
set wildmenu
set hlsearch
exec "nohlsearch"
set incsearch
set ignorecase
set smartcase
noremap 8 5k
noremap 7 5j
noremap j h
noremap i k
noremap k j
noremap = nzz
noremap - Nzz
noremap h i
map s <nop>
map S :w<CR>
map Q :q<CR>
map R :source $MYVIMRC<CR>
map sw :set nosplitbelow<CR>:split<CR>
map sx :set splitbelow<CR>:split<CR>
map sd :set splitright<CR>:vsplit<CR>
map sa :set nosplitright<CR>:vsplit<CR>
map <LEADER>i <C-w>k
map <LEADER>k <C-w>j
map <LEADER>j <C-w>h
map <LEADER>l <C-w>l
map <up> :res -5<CR>
map <down> :res +5<CR>
map <left> :vertical resize -5<CR>
map <right> :vertical resize +5<CR>
imap kj <esc>
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'connorholyday/vim-snazzy'
Plug 'scrooloose/nerdtree'
Plug 'ycm-core/YouCompleteMe'
call plug#end()
color snazzy
let g:SnazzyTransparent = 1