Closed Yuhanun closed 3 years ago
Did you experience this issue with other colour schemes, or just vim-colors-xcode?
Oh turns out it's all colour schemes.
However, do you have any idea on how to resolve this?
I’ve never used Vundle, so I can’t really give you any advice on that front. However, I can recommend you use Vim’s package feature or vim-plug if you want something easy to set up.
Here is what your current vimrc
would look like with vim-plug:
" Cursor line on
set cursorline
call plug#begin('~/.vim/plugged')
" Theme
Plug 'sonph/onehalf'
" Another theme
Plug 'arzg/vim-colors-xcode'
" Directory tree
Plug 'preservim/nerdtree'
" Real-time syntax analysis for C++
Plug 'vim-syntastic/syntastic'
" Snippet engine.
Plug 'SirVer/ultisnips'
" Vim snippets, they go with the engine above
Plug 'honza/vim-snippets'
" Find text fuzzy
Plug 'junegunn/fzf'
" Clang-format
Plug 'rhysd/vim-clang-format'
" Rainbows for {}, () and [] etc
Plug 'oblitum/rainbow'
" Taglist
Plug 'vim-scripts/taglist.vim'
" Easy multiline commenter
Plug 'preservim/nerdcommenter'
" Git
Plug 'airblade/vim-gitgutter'
" Lightline, bottom bar
Plug 'itchyny/lightline.vim'
" Auto-pairs, completes [] etc
Plug 'jiangmiao/auto-pairs'
" Ack
Plug 'mileszs/ack.vim'
" Protobuf support
Plug 'uarun/vim-protobuf'
call plug#end()
" Color theme
" colorscheme onehalfdark
" colorscheme xcodedark
colorscheme xcodedarkhc
" not sure if you still need this, as you don’t have airline installed
let g:airline_theme='onehalfdark'
" Nerdtree
let g:NERDTreeWinPos='left'
nmap <T> :NERDTreeToggle<CR>
" Tag List
let g:Tlist_Inc_Winwidth=0
nmap <L> :TlistToggle<CR>
" Syntastic stuff
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
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
" Snippets
let g:UltiSnipsExpandTrigger="<bar>"
let g:UltiSnipsJumpForwardTrigger="<bar>"
let g:UltiSnipsJumpBackwardTrigger="<CR+bar>"
let g:UltiSnipsEditSplit="vertical"
" map <I> = clang-format
nmap <I> :ClangFormat<CR>
" Rainbow brackets
let g:rainbow_active=1
" Multiline commenter
let g:NERDSpaceelims=1
let g:NERDCompactSexyComs=1
let g:NERDDefaultAlign='left'
let g:NERDTrimTrailingWhitespace=1
" Lightline
set laststatus=2
" Compiling, some custom CMake stuff :)
command CompileCmake :!_compile_current_dir
nmap <C> :CompileCmake
Hello,
My config works completely fine on Linux, however, on windows, it can't seem to find the color scheme.
Any idea on how to resolve this?
Thank you, my config: