From c728f7b085ce0e0b920b872532792f724956a99e Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Fri, 16 Dec 2022 20:26:38 +0100 Subject: [PATCH] vim: tweak how lualine displays the mode --- config/nvim/after/plugin/lualine.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config/nvim/after/plugin/lualine.lua b/config/nvim/after/plugin/lualine.lua index 932003e..58febea 100644 --- a/config/nvim/after/plugin/lualine.lua +++ b/config/nvim/after/plugin/lualine.lua @@ -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)