function! ChangeLayout999(flag)
if &iminsert == 1 || a:flag == 1
hi StatusLine ctermfg=230 ctermbg=238 cterm=NONE guifg=#ffffd7 guibg=#444444 gui=NONE
set iminsert=0
else
hi StatusLine ctermfg=230 ctermbg=232 cterm=NONE guifg=#ffffd7 guibg=#080808 gui=NONE
set iminsert=1
endif
endfun
imap <silent> <C-^> <C-\><C-o>:call ChangeLayout999(1)<CR>
nmap <silent> <C-^> <C-\><C-o>:call ChangeLayout999(1)<CR>
inoremap <silent> <ESC> <Esc>:call ChangeLayout999(0)<CR>
inoremap <silent> <C-c> <Esc>:call ChangeLayout999(0)<CR>