G
G
Ganagin2011-10-03 07:57:05
vim
Ganagin, 2011-10-03 07:57:05

VIM abbreviation

Friends, tell me - how to make such an abbreviation work:

:ia $homer Homer Simpson

The problem here is the $ symbol in the abbreviation name, but I do not understand how to escape it or what else can be done with it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
abyrvalg, 2011-10-03
@abyrvalg

My " :ia $h hhhhh hhhhh" command works fine. Replaces " $h" with " hhhhh hhhhh". (I don't have anything fresher on hand)
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 18 2010 15:14:47)
Заплатки: 1-29

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question