changeset 1131:73e6ca0a03a9

Un-hardcode Ctrl-q binding, it can be done in the config. file
author Mikael Berthe <mikael@lilotux.net>
date Sun, 21 Jan 2007 15:31:34 +0100
parents b2040a7fb7fc
children 1650056b96fc
files mcabber/doc/mcabber.1 mcabber/doc/mcabber.1.html mcabber/doc/mcabber.1.txt mcabber/mcabberrc.example mcabber/src/screen.c
diffstat 5 files changed, 3 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/doc/mcabber.1	Sun Jan 21 15:13:36 2007 +0100
+++ b/mcabber/doc/mcabber.1	Sun Jan 21 15:31:34 2007 +0100
@@ -157,11 +157,6 @@
 Accept line and put the next history line in the input line (accept\-line\-and\-down\-history)
 T}
 T{
-Ctrl\-q
-T}:T{
-Jump to the next unread message
-T}
-T{
 Ctrl\-a
 T}:T{
 Go to the beginning of the input line
--- a/mcabber/doc/mcabber.1.html	Sun Jan 21 15:13:36 2007 +0100
+++ b/mcabber/doc/mcabber.1.html	Sun Jan 21 15:31:34 2007 +0100
@@ -266,14 +266,6 @@
 Accept line and put the next history line in the input line (accept-line-and-down-history)
 </td>
 </tr>
-<tr valign="top">
-<td>
-Ctrl-q
-</td>
-<td>
-Jump to the next unread message
-</td>
-</tr>
 </table>
 <p>Additional key bindings may be specified using the <b>/bind</b> command described
 in the COMMANDS section.</p>
--- a/mcabber/doc/mcabber.1.txt	Sun Jan 21 15:13:36 2007 +0100
+++ b/mcabber/doc/mcabber.1.txt	Sun Jan 21 15:31:34 2007 +0100
@@ -106,7 +106,6 @@
 Ctrl-w::        Backward kill word
 Ctrl-t::        Transpose chars
 Ctrl-o::        Accept line and put the next history line in the input line (accept-line-and-down-history)
-Ctrl-q::        Jump to the next unread message
 
 Additional key bindings may be specified using the '/bind' command described
 in the COMMANDS section.
--- a/mcabber/mcabberrc.example	Sun Jan 21 15:13:36 2007 +0100
+++ b/mcabber/mcabberrc.example	Sun Jan 21 15:31:34 2007 +0100
@@ -287,7 +287,9 @@
 #alias names = room names
 
 # Key bindings
-# Ctlr-X (24) bound to /roster alternate
+# Ctlr-q (17) bound to /roster unread_next
+bind 17 = roster unread_next
+# Ctlr-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
--- a/mcabber/src/screen.c	Sun Jan 21 15:13:36 2007 +0100
+++ b/mcabber/src/screen.c	Sun Jan 21 15:31:34 2007 +0100
@@ -2872,10 +2872,6 @@
     case 14:    // Ctrl-n
         scr_BufferScrollUpDown(1, 0);
         break;
-    case 17:    // Ctrl-q
-        scr_CheckAutoAway(TRUE);
-        scr_RosterUnreadMessage(1); // next unread message
-        break;
     case 20:    // Ctrl-t
         readline_transpose_chars();
         break;