vim: tweak how lualine displays the mode

This commit is contained in:
Fernando Schauenburg 2022-12-16 20:26:38 +01:00
parent 576ded4646
commit c728f7b085

View file

@ -13,6 +13,7 @@ local MODE_MAP = {
['niR'] = 'Normal ',
['niV'] = 'Normal ',
['nt'] = 'Normal ',
['ntT'] = 'Normal*',
['v'] = 'Visual ',
['vs'] = 'Visual ',
['V'] = 'V-Line ',
@ -32,13 +33,13 @@ local MODE_MAP = {
['Rvc'] = 'V-Repl ',
['Rvx'] = 'V-Repl ',
['c'] = 'Command',
['cv'] = 'Ex',
['ce'] = 'Ex',
['cv'] = ' Ex ',
['ce'] = ' Ex ',
['r'] = 'Replace',
['rm'] = 'More',
['rm'] = ' More ',
['r?'] = 'Confirm',
['!'] = 'Shell',
['t'] = 'Term',
['!'] = ' Shell ',
['t'] = ' Term ',
}
local update_status = function(self, is_focused)