filetype plugin indent on " show existing tab with 4 spaces width set tabstop=4 set shiftwidth=4 set expandtab set backspace=indent,eol,start " basics set number " setting color theme stuff set background=dark syntax enable colorscheme hybrid " syntax highlighting let g:go_highlight_types=1 let g:go_highlight_fields=1 let g:go_highlight_functions=1 let g:go_highlight_function_calls=1 let g:go_highlight_operators=1 let g:go_highlight_extra_types=1 " nerdtree settings let NERDTreeHighlightCursorLine=1 autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif " nerdtree binds nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :NERDTreeFocus " time to learn vim noremap :echoerr "Umm, use k instead" noremap :echoerr "Umm,use j instead" noremap :echoerr "Umm,use h instead" noremap :echoerr "Umm,use l instead" inoremap inoremap inoremap inoremap