Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In pidgin, I would like to change the keyboard shortcut of sending messages from Enter to Alt+S, does anyone know how to do it?

share|improve this question

migrated from stackoverflow.com Sep 21 '11 at 12:52

This question came from our site for professional and enthusiast programmers.

    
developer.pidgin.im/wiki/… – mbnoimi Oct 12 '11 at 22:45
up vote 2 down vote accepted

Actually the answer directly above the FAQ entry in mbnoimi's answer is the one you want.

How do I make Enter make a newline and Ctrl+Enter send?

Locate or create your gtkrc-2.0 file and insert:

binding "my-bindings"
{
    bind "Return" { "insert-at-cursor" ("\n") }
    bind "<ctrl>Return" { "message_send" () }
}
widget "*pidgin_conv_entry" binding "my-bindings"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .