mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 13:34:39 +01:00
Compare commits
No commits in common. "b5237a148c70d8244fcd8462549798ff59788f46" and "8171a831b0b64663aab72d9cdcd91d1cd0b9f7ae" have entirely different histories.
b5237a148c
...
8171a831b0
2 changed files with 9 additions and 15 deletions
|
|
@ -24,7 +24,6 @@ Plug 'vimpostor/vim-lumen'
|
|||
" External tool integration
|
||||
Plug 'tpope/vim-bundler' " bundler + gem-ctags
|
||||
Plug 'tpope/vim-fugitive' " git
|
||||
Plug 'airblade/vim-gitgutter' " git gutter
|
||||
Plug 'jremmen/vim-ripgrep' " rg is the new ag is the new ack
|
||||
|
||||
" UI extensions
|
||||
|
|
|
|||
23
vimrc
23
vimrc
|
|
@ -56,7 +56,14 @@ function! DetectMode()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
function! UseTermBG()
|
||||
function! ApplyMode()
|
||||
" set theme
|
||||
if &background ==# 'light'
|
||||
colorscheme nofrils-light
|
||||
else
|
||||
colorscheme nofrils-dark
|
||||
endif
|
||||
|
||||
"use terminal background
|
||||
if has('nvim')
|
||||
hi Normal ctermbg=none guibg=none
|
||||
|
|
@ -71,17 +78,6 @@ function! UseTermBG()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
function! ApplyMode()
|
||||
" set theme
|
||||
if &background ==# 'light'
|
||||
colorscheme habamax
|
||||
else
|
||||
colorscheme habamax
|
||||
endif
|
||||
|
||||
call UseTermBG()
|
||||
endfunction
|
||||
|
||||
" Terminal behavior and appearance
|
||||
if !has('gui_running')
|
||||
set showtabline=1 "automatic tab bar
|
||||
|
|
@ -91,8 +87,7 @@ if !has('gui_running')
|
|||
end
|
||||
|
||||
if $SSH_CLIENT
|
||||
colorscheme habamax
|
||||
call UseTermBG()
|
||||
colorscheme smpl
|
||||
else
|
||||
call DetectMode()
|
||||
call ApplyMode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue