Am 20/02/2024 um 09:42 schrieb Christian Brabandt:
>
> On Mo, 19 Feb 2024, 'Ottavio Caruso' via vim_use wrote:
>
>> Hi,
>>
>> I have this is in my .vimrc:
>>
>> iabbrev mdate <C-R>=strftime("%a %d/%m/%Y")
>>
>>
>> It used to work fine, but as of recently (3 or 4 weeks or so), this
>> abbreviation only works if it is the first thing that I input on any
>> file. If I edit a file, type some characters and then I type "mdate",
>> it doesn't get expanded. I have to save and exit the file, then
>> re-open it and then type "mdate".
>>
>> Is there a way to troubleshoot that?
>
> Make sure you do not have paste mode left enabled.
Thanks. I have double checked but it's not enabled. This is erratic. It
seems to work now. There must be some key combination that triggers this
behaviour.
--
Ottavio Caruso
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/db94bc29-5c81-42d5-b388-f5a187669e25%40yahoo.com.
Tuesday, February 20, 2024
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment