macvim - vimrc not being respected in terminal vim -


some settings in vimrc file use not being respected in terminal vim when use gui mvim works fine. wondering doing wrong. running iterm2 , using same theme being used in vim (gotham). can see differences in pictures attach below.

notice difference in colors, gui version uses correct colors. terminal vim(incorrect version): enter image description here

gui version(correct colors):

enter image description here

here .vimrc i'm using

    let g:startify_custom_header =       \ map(split(system('fortune | cowsay'), '\n'), '"   ". v:val') + ['',''] let g:startify_custom_footer = [         \ '',         \ ]  let &t_co=256 let base16colorspace=256 syntax enable  if strftime("%h") < 16   set background=light   colorscheme solarized else   set background=dark   colorscheme gotham256 endif   set ttyfast set magic set showmatch set clipboard=unnamed set autoread set encoding=utf8 set paste set ignorecase set smartcase set number set numberwidth=6 set guifont=sauce_code_pro_plus_nerd_file_types:h15 set guioptions-=l set guioptions-=r  set invlist set listchars=tab:▸\ ,eol:¬,trail:⋅,extends:❯,precedes:❮ highlight specialkey ctermbg=none " make highlighting of tabs less annoying set showbreak=↪  set wrap "turn on line wrapping set wrapmargin=8 " wrap lines when coming within n characters side set linebreak " set soft wrapping set showbreak=… " show ellipsis @ breaking  set autoindent " automatically set indent of new line set smartindent  let g:nerdtreequitonopen=1 " remove files extension let nerdtreeignore = ['\.js.map$'] " toggle nerdtree nmap <silent> <leader>k :nerdtreetoggle<cr> " expand path of file in current buffer nmap <silent> <leader>y :nerdtreefind<cr>  set ts=2 sw=2 et let g:indent_guides_start_level = 1 let g:indent_guides_auto_colors = 1  if !exists('g:airline_symbols')     let g:airline_symbols = {} endif  let g:webdeviconsunicodedecoratefoldernodes = 1 let g:webdevicons_enable_airline_statusline = 0  let g:airline_left_sep = '' let g:airline_left_alt_sep = '' let g:airline_right_sep = '' let g:airline_right_alt_sep = '' let g:airline_symbols.branch = '' let g:airline_symbols.readonly = '' let g:airline_symbols.linenr = ''  let g:syntastic_always_populate_loc_list = 1 let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 highlight syntasticerrorsign ctermfg=red ctermbg=237 highlight syntasticwarningsign ctermfg=yellow ctermbg=237 highlight syntasticstyleerrorsign ctermfg=red ctermbg=237 highlight syntasticstylewarningsign ctermfg=yellow ctermbg=237    call plug#begin() plug 'tpope/vim-sensible' plug 'scrooloose/nerdtree' plug 'scrooloose/syntastic' plug 'bling/vim-airline' plug 'nathanaelkane/vim-indent-guides' plug 'valloric/youcompleteme' plug 'mhinz/vim-startify' plug 'scrooloose/nerdcommenter' plug 'chriskempson/base16-vim' plug 'tpope/vim-fugitive' plug 'altercation/vim-colors-solarized' plug 'whatyouhide/vim-gotham' plug 'benmills/vimux' plug 'ryanoasis/vim-devicons' call plug#end() 


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -