diff --git a/vimrc b/vimrc index 64229b2..b829e32 100644 --- a/vimrc +++ b/vimrc @@ -7,7 +7,7 @@ set nu set laststatus=2 "Auto indent filetype indent on -set autoindent +set autoindent "Tab set tabstop=2 shiftwidth=0 expandtab set pastetoggle= @@ -47,7 +47,7 @@ Bundle 'ervandew/supertab' call vundle#end() " required filetype plugin indent on " required -set runtimepath^=~/.vim/ctrlp +set runtimepath^=~/.vim/ctrlp """"""""Setup Airline"""""""" let g:airline_theme= 'bubblegum' @@ -58,15 +58,21 @@ let g:gitgutter_signs = 1 let g:gitgutter_highlight_lines = 0 """"""""Setup AutoClose"""""""" -let g:AutoClosePairs = "() {} \" ` ' []" +let g:AutoClosePairs = "() {} \" ` ' [] <>" """"""""Leader Commands"""""""" nnoremap n :NERDTreeToggle -nnoremap w :w +nnoremap w :w nnoremap i :PluginInstall nnoremap g :Gist -nnoremap q :q -nnoremap x :x +nnoremap q :q +nnoremap x :x nnoremap r :%s/ let g:ctrlp_map = 'p' let g:ctrlp_cmd = 'CtrlP' + +""""""Remap split movement"""""" +map j +map k +map h +map l