2017-07-14 23:16 GMT+03:00 <arocker@vex.net>:
>> 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.
>
> --
> --
> 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 vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Friday, July 14, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment