Bram, here is a small patch, that makes sure, that the commandline is updated after using is in visual mode
Mit freundlichen Grüßen Christian -- Lieber einen kleinen Beutel Kohle, als einen großen Sack mit Briketts. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
From a85935434e79cad3be55ccaa649166987d85110e Mon Sep 17 00:00:00 2001 From: Christian Brabandt <[email protected]> Date: Thu, 1 Sep 2016 18:06:06 +0200 Subject: [PATCH] Update commandline after using is in visual mode When using the textobject "is" or "as" in linewise visual mode, the selection is changed to characterwise mode. However in the commandline "VISUAL LINE" is still displayed. Therefore, force an update to the commandline. --- src/search.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search.c b/src/search.c index a6b9341..bbda8ac 100644 --- a/src/search.c +++ b/src/search.c @@ -3638,6 +3638,7 @@ extend: ++curwin->w_cursor.col; VIsual = start_pos; VIsual_mode = 'v'; + redraw_cmdline = TRUE; /* show mode later */ redraw_curbuf_later(INVERTED); /* update the inversion */ } else -- 2.1.4
