Re: "iabbrev" erratic behaviour

Christian Brabandt <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
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,
Christian
-- 
Official Project Stages:
	(1) Uncritical Acceptance
	(2) Wild Enthusiasm
	(3) Dejected Disillusionment
	(4) Total Confusion
	(5) Search for the Guilty
	(6) Punishment of the Innocent
	(7) Promotion of the Non-participants

-- 
-- 
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].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ZdR0HvhTBukfYb5D%40256bit.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.