]> git.phdru.name Git - dotfiles.git/commitdiff
.gtkrc: update for Pidgin
authorOleg Broytman <phd@phdru.name>
Thu, 26 Nov 2015 22:52:04 +0000 (01:52 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 26 Nov 2015 22:52:04 +0000 (01:52 +0300)
Use <Enter> key to edit text in Pidgin, use <C-Enter> key to send.

.gtkrc-2.0

index 28bc74e5b4c1a3dbb9b7a8955a831b04584d0b24..f6905564f036171f90dd8949a23c6cb1881af09b 100644 (file)
@@ -96,13 +96,15 @@ gtk-key-theme-name = "Default"
 #to let you edit your gaim key bindings
 #gtk-can-change-accels = 1
 
-# In Gaim 2.0.0 and later, you can set custom keybindings in your theme.  Here
+# In Pidgin you can set custom keybindings in your theme.  Here
 # is an example to follow
 
-#binding "my-bindings"
-#{
+binding "my-bindings"
+{
 # enter inserts a newline
-#      bind "Return" { "insert-at-cursor" ("\n") }
+       bind "Return" { "insert-at-cursor" ("\n") }
+# ctrl-enter sends message
+       bind "<ctrl>Return" { "message_send" () }
 # ctrl-s sends message
 #      bind "<ctrl>s" { "message_send" () }
 # shift-f1 toggles bold
@@ -113,8 +115,8 @@ gtk-key-theme-name = "Default"
 #      bind "<ctrl><alt><shift>F3" { "format_function_toggle" (4) }
 # Ctrl-f1 resets the formatting
 #      bind "<ctrl>F1" { "format_function_clear" () }
-#}
-#widget "*gaim_gtkconv_entry" binding "my-bindings"
+}
+widget "*pidgin_conv_entry" binding "my-bindings"
 
 #############################
 #misc