vim: tweak how lualine displays the mode
This commit is contained in:
parent
576ded4646
commit
c728f7b085
1 changed files with 6 additions and 5 deletions
|
@ -13,6 +13,7 @@ local MODE_MAP = {
|
||||||
['niR'] = 'Normal ',
|
['niR'] = 'Normal ',
|
||||||
['niV'] = 'Normal ',
|
['niV'] = 'Normal ',
|
||||||
['nt'] = 'Normal ',
|
['nt'] = 'Normal ',
|
||||||
|
['ntT'] = 'Normal*',
|
||||||
['v'] = 'Visual ',
|
['v'] = 'Visual ',
|
||||||
['vs'] = 'Visual ',
|
['vs'] = 'Visual ',
|
||||||
['V'] = 'V-Line ',
|
['V'] = 'V-Line ',
|
||||||
|
@ -32,13 +33,13 @@ local MODE_MAP = {
|
||||||
['Rvc'] = 'V-Repl ',
|
['Rvc'] = 'V-Repl ',
|
||||||
['Rvx'] = 'V-Repl ',
|
['Rvx'] = 'V-Repl ',
|
||||||
['c'] = 'Command',
|
['c'] = 'Command',
|
||||||
['cv'] = 'Ex',
|
['cv'] = ' Ex ',
|
||||||
['ce'] = 'Ex',
|
['ce'] = ' Ex ',
|
||||||
['r'] = 'Replace',
|
['r'] = 'Replace',
|
||||||
['rm'] = 'More',
|
['rm'] = ' More ',
|
||||||
['r?'] = 'Confirm',
|
['r?'] = 'Confirm',
|
||||||
['!'] = 'Shell',
|
['!'] = ' Shell ',
|
||||||
['t'] = 'Term',
|
['t'] = ' Term ',
|
||||||
}
|
}
|
||||||
|
|
||||||
local update_status = function(self, is_focused)
|
local update_status = function(self, is_focused)
|
||||||
|
|
Loading…
Add table
Reference in a new issue