From 90e1dc074fb066d034d05e0d0b7d2beb952cdb19 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 4 Oct 2021 09:36:20 +0800 Subject: [PATCH] feat: add support for modes Rvc and Rvx (#75) Following https://github.com/neovim/neovim/pull/15886 --- lua/lualine/utils/mode.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lua/lualine/utils/mode.lua b/lua/lualine/utils/mode.lua index 836529a..a798db7 100644 --- a/lua/lualine/utils/mode.lua +++ b/lua/lualine/utils/mode.lua @@ -12,21 +12,23 @@ Mode.map = { ['niR'] = 'NORMAL', ['niV'] = 'NORMAL', ['v'] = 'VISUAL', + ['vs'] = 'VISUAL', ['V'] = 'V-LINE', + ['Vs'] = 'V-LINE', [''] = 'V-BLOCK', + ['s'] = 'V-BLOCK', ['s'] = 'SELECT', ['S'] = 'S-LINE', [''] = 'S-BLOCK', - ['vs'] = 'VISUAL', - ['Vs'] = 'V-LINE', - ['s'] = 'V-BLOCK', ['i'] = 'INSERT', ['ic'] = 'INSERT', ['ix'] = 'INSERT', ['R'] = 'REPLACE', ['Rc'] = 'REPLACE', - ['Rv'] = 'V-REPLACE', ['Rx'] = 'REPLACE', + ['Rv'] = 'V-REPLACE', + ['Rvc'] = 'V-REPLACE', + ['Rvx'] = 'V-REPLACE', ['c'] = 'COMMAND', ['cv'] = 'EX', ['ce'] = 'EX',