On Sat, Jul 15, 2017 at 12:49 AM, Nikolay Aleksandrovich Pavlov
<[email protected]> wrote:
> 2017-07-14 23:16 GMT+03:00  <[email protected]>:
>>> Use mappings as suggested here:
>>>
>>
>> Thanks for everyone who has responded. I'm still curious about the extra
>> space inserted by the :ab, when exactly the same sequence, (as far as I
>> can see) does not generate it.
>
> There is no “extra space” inserted, abbreviation is triggered only
> after you type some text and a character which triggers the
> abbreviation (space in some cases) *and that character is not being
> removed*, it just stays there in an input buffer to be processed after
> abbreviation is expanded. By default all characters except for control
> ones are processed by inserting them into the buffer at the cursor
> position, space is not a control character.
>
> Eatchar technique I referenced in the first message works around the
> problem for the cases when it is needed.
>

Or, to trigger an abbreviation without typing an additional character,
you can hit Ctrl-] (as explained 32 lines below the help tag reached
by ":help abbreviations".

Best regards,
Tony.

-- 
-- 
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 because you are subscribed to the Google Groups 
"vim_use" 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.

Reply via email to