If I have a mapping/abbreviation whose ending is the beginning of
another mapping/abbreviation, how do I keep the first from expanding into the second one? Instead of using the “:map lhs rhs” command, use the “:noremap lhs rhs” command. For abbreviations, use “noreabbrev lhs rhs”. The “nore” prefix prevents the mapping or abbreviation from being expanded again.