Compare commits

..

2 commits

Author SHA1 Message Date
b5237a148c
Use habamax theme 2025-03-12 13:49:49 +01:00
a365aa7fa0
Add git gutters 2025-03-12 13:45:53 +01:00
2 changed files with 15 additions and 9 deletions

View file

@ -24,6 +24,7 @@ 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
View file

@ -56,14 +56,7 @@ function! DetectMode()
endif
endfunction
function! ApplyMode()
" set theme
if &background ==# 'light'
colorscheme nofrils-light
else
colorscheme nofrils-dark
endif
function! UseTermBG()
"use terminal background
if has('nvim')
hi Normal ctermbg=none guibg=none
@ -78,6 +71,17 @@ function! ApplyMode()
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
@ -87,7 +91,8 @@ if !has('gui_running')
end
if $SSH_CLIENT
colorscheme smpl
colorscheme habamax
call UseTermBG()
else
call DetectMode()
call ApplyMode()