Not every character sequences are acceptable for abbreviation (see: :h abbreviation
).
To determine if a sequence is supported the last character is important.
If the last character is a non-keyword character (usually a letter, a number or an underscore) the sequence is supported (non-id
sequence). Example are: #foo#
, foo#
, bar##
If the last character is a keyword character there are two types of sequence supported:
- The part before is only made of keyword characters (
full-id
sequence). Example are: foo
, bar
- The part before is only made of non-keyword characters (
end-id
sequence). Example are: #a
, #.#b
If the last character is a keyword you can't mix keyword and non-keyword on the first part. Example are: \ae
Remark: The definition of what is a keyword character can be configured using the iskeyword
option (more information with :h 'iskeyword'
)
I could recommend you to either use the suffix approach:
ia e'\ é
ia ae\ æ
Or use the following answer that propose to check the character before the abbreviation and delete it before inserting the abbreviation.
:scriptencoding
command<leader>ae
sequence. If you tryia ae æ
I believe it will work. I don't what are the lhs that are refused byia
.