if has("mac") || has("macunix") set gfn=Hack:h14,Source\ Code\ Pro:h14,Menlo:h14 elseif has("win16") || has("win32") set gfn=Hack:h14,Source\ Code\ Pro:h14,Bitstream\ Vera\ Sans\ Mono:h14 elseif has("gui_gtk2") set gfn=Hack\ 14,Source\ Code\ Pro\ 14,Bitstream\ Vera\ Sans\ Mono\ 14 elseif has("linux") set gfn=Hack\ 14,Source\ Code\ Pro\ 14,Bitstream\ Vera\ Sans\ Mono\ 14 elseif has("unix") set gfn=Monospace\ 14 endif " move around tabs. conflict with the original screen top/bottom " comment them out if you want the original H/L " go to prev tab map gT " go to next tab map gt " mv current tab left map :execute 'tabmove ' . (tabpagenr()-2) " mv current tab right map :execute 'tabmove ' . (tabpagenr()+1) " new tab map :tabnew " close tab map :tabclose " toggle NerdTree map :NERDTreeToggle set expandtab set shiftwidth=2 set tabstop=2 set softtabstop=2 set cmdheight=1 set number " yank to the system register (*) by default set clipboard=unnamed " Mark, highlight multiple words source ~/.vim_runtime/sources_non_forked/Mark/plugin/mark.vim let g:mwDefaultHighlightingPalette = 'maximum' let g:mwDefaultHighlightingNum = 10 " Vim-jsx let g:jsx_ext_required = 0 " Eslint " let g:syntastic_javascript_checkers = ['eslint'] " disable Syntastic by default let g:syntastic_mode_map = { 'mode': 'passive' } " setl foldmethod=manual