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 ', ['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)