Text shortcuts - Pidgin

Etan Reisner deryni at pidgin.im
Tue Jan 25 16:09:59 EST 2011


So there are a number of ways this could be achieved.

The Text Replacement plugin could be (ab)used to provide this with enough
care.

A dedicated plugin could be written to handle specific triggers. It could
respond to a command (e.g. /ph ##).

It is also possible to do this via gtkrc keybindings. The sample gtkrc
file in the wiki (http://developer.pidgin.im/wiki/SampleGtkrc2.0) contains
a binding for causing Return to insert a newline rather than send the
message. This could be adapted to allow keybindings to insert any
arbitrary text.

    -Etan




More information about the Support mailing list