vim-airline / vim-airline-themes

A collection of themes for vim-airline
MIT License
2.04k stars 348 forks source link

My base16_oceanicnext theme is bad #171

Closed qingdujun closed 5 years ago

qingdujun commented 5 years ago

屏幕快照 2019-04-10 下午3 47 32

I want to configure base16_oceanicnext theme. Like this http://vimcolors.com/377/OceanicNext/dark

But, my effect is above.

This is my .vimrc

call plug#begin('$HOME/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

...

let t_Co=256
" let g:oceanic_next_terminal_bold = 1
" let g:oceanic_next_terminal_italic = 1
"
if (has("termguicolors"))
    set termguicolors
endif

let g:airline_theme='base16_oceanicnext'

Some thing about my vim.

$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 19 2019 12:07:46)
macOS version
Included patches: 1-950
Compiled by Homebrew
Huge version with MacVim GUI.  Features included (+) or not (-):
+acl               -farsi             +mouse_sgr         -tag_any_white
+arabic            +file_in_path      -mouse_sysmouse    +tcl
+autocmd           +find_in_path      +mouse_urxvt       +termguicolors
+autochdir         +float             +mouse_xterm       +terminal
-autoservername    +folding           +multi_byte        +terminfo
+balloon_eval      -footer            +multi_lang        +termresponse
+balloon_eval_term +fork()            -mzscheme          +textobjects
+browse            +fullscreen        +netbeans_intg     +textprop
++builtin_terms    -gettext           +num64             +timers
+byte_offset       -hangul_input      +odbeditor         +title
+channel           +iconv             +packages          +toolbar
+cindent           +insert_expand     +path_extra        +transparency
+clientserver      +job               +perl              +user_commands
+clipboard         +jumplist          +persistent_undo   +vartabs
+cmdline_compl     +keymap            +postscript        +vertsplit
+cmdline_hist      +lambda            +printer           +virtualedit
+cmdline_info      +langmap           +profile           +visual
+comments          +libcall           -python            +visualextra
+conceal           +linebreak         +python3           +viminfo
+cryptv            +lispindent        +quickfix          +vreplace
+cscope            +listcmds          +reltime           +wildignore
+cursorbind        +localmap          +rightleft         +wildmenu
+cursorshape       +lua               +ruby              +windows
+dialog_con_gui    +menu              +scrollbind        +writebackup
+diff              +mksession         +signs             -X11
+digraphs          +modify_fname      +smartindent       -xfontset
+dnd               +mouse             +startuptime       +xim
-ebcdic            +mouseshape        +statusline        -xpm
+emacs_tags        +mouse_dec         -sun_workshop      -xsmp
+eval              -mouse_gpm         +syntax            -xterm_clipboard
+ex_extra          -mouse_jsbterm     +tag_binary        -xterm_save
+extra_search      +mouse_netterm     +tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X -DMACOS_X_DARWIN  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: clang   -L.             -L /BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/libressl/lib -L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/lib -L.             -L /BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/libressl/lib -L/BuildRoot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.Internal.sdk/usr/local/lib  -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon       -lm  -lncurses -liconv -framework AppKit  -L/usr/local/opt/lua/lib -llua5.3 -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl  -L/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/config-3.7m-darwin -lpython3.7m -framework CoreFoundation -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby 
qingdujun commented 5 years ago

My all plugins are as follows,

$ pwd
/Users/qingdujun/.vim/plugged
qingdujundeMacBook-Pro:plugged qingdujun$ ls
YouCompleteMe       syntastic       vim-multiple-cursors
delimitMate     tagbar          vim-snippets
jedi-vim        ultisnips       vimtex
molokai         vim-airline
nerdtree        vim-airline-themes
qingdujundeMacBook-Pro:plugged qingdujun$ 

More information about vim-airline-themes.

$ pwd
/Users/qingdujun/.vim/plugged/vim-airline-themes/autoload/airline/themes
qingdujundeMacBook-Pro:themes qingdujun$ ls
alduin.vim          behelit.vim
angr.vim            biogoo.vim
atomic.vim          bubblegum.vim
aurora.vim          cobalt2.vim
ayu_mirage.vim          cool.vim
badcat.vim          dark_minimal.vim
badwolf.vim         deus.vim
base16.vim          distinguished.vim
base16_3024.vim         dracula.vim
base16_adwaita.vim      durant.vim
base16_apathy.vim       fairyfloss.vim
base16_ashes.vim        hybrid.vim
base16_atelierdune.vim      hybridline.vim
base16_atelierforest.vim    jellybeans.vim
base16_atelierheath.vim     jet.vim
base16_atelierlakeside.vim  kalisi.vim
base16_atelierseaside.vim   kolor.vim
base16_bespin.vim       laederon.vim
base16_brewer.vim       light.vim
base16_bright.vim       lucius.vim
base16_chalk.vim        luna.vim
base16_classic.vim      minimalist.vim
base16_codeschool.vim       molokai.vim
base16_colors.vim       monochrome.vim
base16_default.vim      murmur.vim
base16_eighties.vim     night_owl.vim
base16_embers.vim       onedark.vim
base16_flat.vim         ouo.vim
base16_google.vim       papercolor.vim
base16_grayscale.vim        peaksea.vim
base16_greenscreen.vim      powerlineish.vim
base16_harmonic16.vim       qwq.vim
base16_hopscotch.vim        raven.vim
base16_isotope.vim      ravenpower.vim
base16_londontube.vim       seagull.vim
base16_marrakesh.vim        serene.vim
base16_mocha.vim        sierra.vim
base16_monokai.vim      silver.vim
base16_nord.vim         simple.vim
base16_ocean.vim        soda.vim
base16_oceanicnext.vim      sol.vim
base16_paraiso.vim      solarized.vim
base16_pop.vim          solarized_flood.vim
base16_railscasts.vim       term.vim
base16_seti.vim         term_light.vim
base16_shapeshifter.vim     tomorrow.vim
base16_shell.vim        ubaryd.vim
base16_solarized.vim        understated.vim
base16_spacemacs.vim        vice.vim
base16_summerfruit.vim      violet.vim
base16_tomorrow.vim     wombat.vim
base16_twilight.vim     xtermlight.vim
base16_vim.vim          zenburn.vim
base16color.vim
qingdujundeMacBook-Pro:themes qingdujun$ 
chrisbra commented 5 years ago

I am not sure, base16_oceanicnext is supposed to be the same as the oceanicnext theme. Also note, the airline themes are just for the statusline, they do not replace color schemes in Vim.

qingdujun commented 5 years ago

I am not sure, base16_oceanicnext is supposed to be the same as the oceanicnext theme. Also note, the airline themes are just for the statusline, they do not replace color schemes in Vim.

So, I should install mhartington/oceanic-next?

Plug 'mhartington/oceanic-next'

...

" Theme
 syntax enable
" for vim 7
 set t_Co=256

" for vim 8
 if (has("termguicolors"))
  set termguicolors
 endif

colorscheme OceanicNext
qingdujun commented 5 years ago

屏幕快照 2019-04-10 下午4 19 13

Hello @chrisbra , How to change the background color? Like http://vimcolors.com/377/OceanicNext/dark.

chrisbra commented 5 years ago

So, I should install mhartington/oceanic-next

If you want to use this color scheme yes.

How to change the background color?

What background color?

qingdujun commented 5 years ago

So, I should install mhartington/oceanic-next

If you want to use this color scheme yes.

How to change the background color?

What background color?

The vim background of http://vimcolors.com/377/OceanicNext/dark, Look like bule or green?

My background color is like black.

chrisbra commented 5 years ago

I still don't understand. What background color of what item you are refering too? Note, this is likely an issue of the color scheme and not of vim-airline-themes.

qingdujun commented 5 years ago

I still don't understand. What background color of what item you are refering too? Note, this is likely an issue of the color scheme and not of vim-airline-themes.

Yes, I opened a new issue in Here