On Tue, 19 Jan 2010 19:58:16 +0900, Bram Moolenaar <[email protected]> wrote: > I'm wondering if REMAP_NONE should be used for all calls to > ins_typebuf(). For example, typing: > > :cmap hello hello there > :echo "hello" > @: > > The first hello results in "hello there" (expanded while typing). > The "@:" results in "hello there there", it's expanded again. Not > really what you would expect when repeating a command. > > However @. appears to contain what is typed, thus the "esc" argument > must be used to decide about remapping.
I hadn't thought of such situations. Thank you for the advice.
-- You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php
