always use dln-dim
This commit is contained in:
parent
3c56b48025
commit
88b8ced395
1 changed files with 5 additions and 18 deletions
|
@ -607,25 +607,10 @@ let &t_8f = "<Esc>[38;2;%lu;%lu;%lum"
|
||||||
let &t_8b = "<Esc>[48;2;%lu;%lu;%lum"
|
let &t_8b = "<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
|
||||||
|
|
||||||
let darkmode=$DARKMODE
|
|
||||||
if darkmode == 'true'
|
|
||||||
let g:material_terminal_italics = 1
|
|
||||||
let g:material_theme_style = 'darker'
|
|
||||||
let g:airline_theme='distinguished'
|
|
||||||
color dln-dim
|
color dln-dim
|
||||||
else
|
map ,l :color dln-dim<CR>
|
||||||
let g:airline_theme='sol'
|
|
||||||
color dln-light
|
|
||||||
endif
|
|
||||||
|
|
||||||
map ,l :color dln-light<CR>
|
|
||||||
|
|
||||||
let s:hidden_all = 1
|
|
||||||
set noshowmode
|
|
||||||
set noruler
|
|
||||||
set laststatus=0
|
|
||||||
set noshowcmd
|
|
||||||
|
|
||||||
|
let s:hidden_all = 0
|
||||||
function! ToggleHiddenAll()
|
function! ToggleHiddenAll()
|
||||||
if s:hidden_all == 0
|
if s:hidden_all == 0
|
||||||
let s:hidden_all = 1
|
let s:hidden_all = 1
|
||||||
|
@ -633,12 +618,14 @@ function! ToggleHiddenAll()
|
||||||
set noruler
|
set noruler
|
||||||
set laststatus=0
|
set laststatus=0
|
||||||
set noshowcmd
|
set noshowcmd
|
||||||
|
set nonumber
|
||||||
else
|
else
|
||||||
let s:hidden_all = 0
|
let s:hidden_all = 0
|
||||||
set showmode
|
set showmode
|
||||||
set ruler
|
set ruler
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set showcmd
|
set showcmd
|
||||||
|
set number
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
nnoremap <S-h> :call ToggleHiddenAll()<CR>
|
nnoremap <S-h> :call ToggleHiddenAll()<CR>
|
||||||
|
|
Loading…
Reference in a new issue