Closed PrashanthaTP closed 3 years ago
try with
export TERM=xterm-256color
Double status bar problem with
augroup GITCOMMIT_SETTINGS
"https://vi.stackexchange.com/questions/4343/can-i-detect-whether-current-vim-instance-is-launched-by-git
autocmd!
autocmd FileType gitcommit silent :call Set_git_settings()
augroup END
1.
function Set_git_settings()
colorscheme gruvbox
"below line is important : gruvbox-material doesn't work when vim opened from git
let g:lightline.colorscheme='gruvbox'
endfunction
2.
function Set_git_settings()
"colorscheme gruvbox
"below line is important : gruvbox-material doesn't work when vim opened from git
let g:lightline.colorscheme='gruvbox'
endfunction
3.
function Set_git_settings()
"colorscheme gruvbox
let g:lightline.colorscheme='gruvbox_material'
endfunction
:commands overwrite the statusline from rightside
observed only when open some files mainly .vim filesgit difftool
orgit commit
)