Solarized par défaut, le terminal choisit

This commit is contained in:
EEva @ felin 2016-08-12 13:34:42 +02:00
parent de18df8e6c
commit 300c4e1b5b
2 changed files with 10 additions and 7 deletions

View file

@ -36,14 +36,14 @@ set -g status-justify centre
set -g status-right "(" set -g status-right "("
set -g status-left ")" set -g status-left ")"
#### COLOUR (Solarized light) #### COLOUR (Default dark (terminal chooses variant))
# default statusbar colors # default statusbar colors
set-option -g status-bg white #base2 set-option -g status-bg black #base02
set-option -g status-fg yellow #yellow set-option -g status-fg yellow #yellow
set-option -g status-attr default set-option -g status-attr default
# default window title colors # default window title colors
set-window-option -g window-status-fg brightyellow #base00 set-window-option -g window-status-fg brightblue #base0
set-window-option -g window-status-bg default set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim #set-window-option -g window-status-attr dim
@ -53,11 +53,11 @@ set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright #set-window-option -g window-status-current-attr bright
# pane border # pane border
set-option -g pane-border-fg white #base2 set-option -g pane-border-fg black #base02
set-option -g pane-active-border-fg brightcyan #base1 set-option -g pane-active-border-fg brightgreen #base01
# message text # message text
set-option -g message-bg white #base2 set-option -g message-bg black #base02
set-option -g message-fg brightred #orange set-option -g message-fg brightred #orange
# pane number display # pane number display

View file

@ -25,10 +25,13 @@ nnoremap <leader>a :echo("\<leader\> works! It is set to <leader>")<CR>
" Highlighting " Highlighting
syntax enable syntax enable
if has('gui_running') if has('gui_running')
" When gui is running, it pretty much sets its own colors
set background=light set background=light
set guifont=Inconsolata\ 16 set guifont=Inconsolata\ 16
else else
set background=light " If we're in a terminal, then we stay default, terminal will choose
" which colors it likes.
set background=dark
endif endif
let g:solarized_termcolors=16 let g:solarized_termcolors=16