set jid = {{ item.jid }} set password = {{ item.password }} set server = {{ item.server }} {% if item.security == 'tls' %} set port = 5222 set tls = 1 {% elif item.security == 'ssl' %} set port = 5223 set ssl = 1 {% endif %} set nickname = {{ item.nickname }} alias me = say /me alias online = status online alias away = status away alias dnd = status dnd alias notavail = status notavail # Key bindings # Ctrl-q (17) bound to /roster unread_next bind 17 = roster unread_next # Ctrl-x (24) bound to /roster alternate bind 24 = roster alternate # F5 (269) bound to /roster toggle_offline (centericq-like, IIRC) bind 269 = roster toggle_offline # F12 (276) bound to /roster toggle bind 276 = roster toggle # Ctrl-Up/Ctrl-Down bound to /buffer up/down (like Ctrl-p/Ctrl-n) bind 521 = buffer up bind 514 = buffer down