Axel Bender wrote: > mode() (used in 'statusline') doesn't return "Rv" but "R" when > entering "Visual Replace Mode" with gR. 'showmode' correctly displays > "VREPLACE". > > Using gvim 7.3.773 64-bit on Windows 7.
You need to use mode(1). For Virtual replace mode it then returns "Rv". -- Proverb: A nightingale that forgets the lyrics is a hummingbird. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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
