I am using this version of Vim:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan 19 2009 17:17:05)
Help lists no argument for this command:
*:abc* *:abclear*
:abc[lear] Remove all abbreviations. {not in Vi}
*:iabc* *:iabclear*
:iabc[lear] Remove all abbreviations for Insert mode. {not in Vi}
*:cabc* *:cabclear*
:cabc[lear] Remove all abbreviations for Command-line mode. {not
in Vi}
*using_CTRL-V*
It is possible to use special characters in the rhs of an abbreviation.
CTRL-V has to be used to avoid the special meaning of most non printable
characters. How many CTRL-Vs need to be typed depends on how you enter the
abbreviation. This also applies to mappings. Let's use an example here.
Suppose you want to abbreviate "esc" to enter an <Esc> character. When you
type the ":ab" command in Vim, you have to enter this: (here ^V is a CTRL-V
and ^[ is <Esc>)
Do I need to change versions?
On Tue, Jun 7, 2011 at 3:50 AM, Christian Brabandt <cblists@256bit.org> wrote:
Hi
Actually it does. But you need to specify the <buffer> argument to it,
On Di, 07 Jun 2011, Christian Brabandt wrote:
> It seems, abclear does not clear buffer local abbreviations. Hm, I tend
> to consider this as a bug.
e.g.
:abclear <buffer>
should clear all buffer local abbreviations.
regards,
Christian
--
--
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
--
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
No comments:
Post a Comment