Change colour of 'terminal' mode to be same as 'insert' mode.

This commit is contained in:
HiPhish
2015-12-06 13:44:37 +01:00
parent 9883aaba3f
commit eaf4500760

View File

@@ -94,7 +94,7 @@ function! lightline#init() abort
\ 'n': 'normal', 'i': 'insert', 'R': 'replace', 'v': 'visual', 'V': 'visual',
\ 'c': 'command', "\<C-v>": 'visual', 's': 'select', 'S': 'select', "\<C-s>": 'select',
\ 't': 'terminal' }
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'select': 'visual' })
call extend(s:lightline.mode_fallback, { 'replace': 'insert', 'terminal': 'insert', 'select': 'visual' })
call extend(s:lightline.component, {
\ 'mode': '%{lightline#mode()}',
\ 'absolutepath': '%F', 'relativepath': '%f', 'filename': '%t', 'modified': '%M', 'bufnum': '%n',