I want to create abbreviation for a large word, say configuration
.
Vim command works even if we type part of it. Example, s[ubstitute]
.
When you type s
, su
, sub
, subs
, subst
, substi
, substit
, etc., all these keywords work for the same command substitute
.
Likewise, When I type Conf
or Confi
or Config
or Configu
, ...
It has to expand to the full word. The user has to decide what should be the minimum part. In this case, it is Conf
.
Without writing function or multiple remappings, is there a way to make this work?
I tried this way
:abbr conf[iguration] configuration
But it didn't work.
:iabbrev conf configuration
the full word will appear when you writeconf
so you fixed the minimum letters to write to trigger the abbreviation, right?