On Sat, 4 Feb 2012, howardb21 wrote:

On Feb 2, 10:26 pm, Jürgen Krämer <[email protected]> wrote:
Hi,

There are also [ic]noreabbrev variants which would prevent the right-hand-side of an abbreviation to be re-used as the left-hand-side of a mapping.

Where do I find these variants? I searched Vim's documentation and only found versions of nore that prevent re-use of the right had side of a map or abbreviation. Please point me to the variants.

Those are the variants.

:nmap a bcd
:nmap b ef

Means that 'a' would turn into 'bcd', which then gets remapped, turning into 'efcd'.

:nnoremap a bcd
:nnoremap b ef

Means that 'a' would turn into 'bcd', but it stays 'bcd' because of the no-re-mapping.

--
Best,
Ben

--
You received this message from the "vim_use" 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

Reply via email to