Browse Source

REPLACE mode added to vimrc

master
Dirk Alders 1 year ago
parent
commit
a0074b71d9
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      vimrc

+ 2
- 0
vimrc View File

69
 " Statusline color
69
 " Statusline color
70
 highlight NormalColor ctermbg=11 ctermfg=0
70
 highlight NormalColor ctermbg=11 ctermfg=0
71
 highlight InsertColor ctermbg=14 ctermfg=0
71
 highlight InsertColor ctermbg=14 ctermfg=0
72
+highlight ReplaceColor ctermbg=13 ctermfg=0
72
 highlight VisualColor ctermbg=9 ctermfg=0
73
 highlight VisualColor ctermbg=9 ctermfg=0
73
 highlight CommandColor ctermbg=15 ctermfg=0
74
 highlight CommandColor ctermbg=15 ctermfg=0
74
 highlight FilenameColor ctermbg=10 ctermfg=0
75
 highlight FilenameColor ctermbg=10 ctermfg=0
77
 set statusline=
78
 set statusline=
78
 set statusline+=%#NormalColor#%{(mode()=='n')?'\ \ NORMAL\ \ ':''}
79
 set statusline+=%#NormalColor#%{(mode()=='n')?'\ \ NORMAL\ \ ':''}
79
 set statusline+=%#InsertColor#%{(mode()=='i')?'\ \ INSERT\ \ ':''}
80
 set statusline+=%#InsertColor#%{(mode()=='i')?'\ \ INSERT\ \ ':''}
81
+set statusline+=%#ReplaceColor#%{(mode()=='r')?'\ \ REPLACE\ ':''}
80
 set statusline+=%#VisualColor#%{(mode()=='v')?'\ \ VISUAL\ \ ':''}
82
 set statusline+=%#VisualColor#%{(mode()=='v')?'\ \ VISUAL\ \ ':''}
81
 set statusline+=%#CommandColor#%{(mode()=='c')?'\ \ COMMAND\ ':''}
83
 set statusline+=%#CommandColor#%{(mode()=='c')?'\ \ COMMAND\ ':''}
82
 
84
 

Loading…
Cancel
Save