summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--doc/de/weechat.de.xml6
-rw-r--r--doc/en/weechat.en.xml6
-rw-r--r--doc/fr/weechat.fr.xml6
-rw-r--r--src/gui/curses/gui-curses-keyboard.c3
-rw-r--r--weechat/ChangeLog1
-rw-r--r--weechat/doc/de/weechat.de.xml6
-rw-r--r--weechat/doc/en/weechat.en.xml6
-rw-r--r--weechat/doc/fr/weechat.fr.xml6
-rw-r--r--weechat/src/gui/curses/gui-curses-keyboard.c3
10 files changed, 26 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index a334211fe..0fd3353b8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2007-07-18
Version 0.2.6 (under dev!):
+ * added 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
* added "buffer_move" event handler to plugins API (task #6708)
* added key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
diff --git a/doc/de/weechat.de.xml b/doc/de/weechat.de.xml
index 5e03ae0a4..8407bc38a 100644
--- a/doc/de/weechat.de.xml
+++ b/doc/de/weechat.de.xml
@@ -463,13 +463,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Links</entry>
+ <entry>Links / Strg + B</entry>
<entry>
Gehe zum vorherigen Zeichen in der Kommandozeile
</entry>
</row>
<row>
- <entry>Rechts</entry>
+ <entry>Rechts / Strg + F</entry>
<entry>
Gehe zum nächsten Zeichen in der Kommandozeile
</entry>
@@ -579,7 +579,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Entfernen</entry>
+ <entry>Entfernen / Strg + D</entry>
<entry>
Lösche das nächste Zeichen in der Kommandozeile
</entry>
diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml
index 23559fbc8..fd931e2dd 100644
--- a/doc/en/weechat.en.xml
+++ b/doc/en/weechat.en.xml
@@ -458,13 +458,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Left arrow</entry>
+ <entry>Left arrow / Ctrl + B</entry>
<entry>
Go to previous char in command line
</entry>
</row>
<row>
- <entry>Right arrow</entry>
+ <entry>Right arrow / Ctrl + F</entry>
<entry>
Go to next char in command line
</entry>
@@ -573,7 +573,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Delete</entry>
+ <entry>Delete / Ctrl + D</entry>
<entry>
Delete next char in command line
</entry>
diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml
index 53b6a39e1..edf48da68 100644
--- a/doc/fr/weechat.fr.xml
+++ b/doc/fr/weechat.fr.xml
@@ -467,13 +467,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Flèche gauche</entry>
+ <entry>Flèche gauche / Ctrl + B</entry>
<entry>
Aller au caractère précédent sur la ligne de commande
</entry>
</row>
<row>
- <entry>Flèche droite</entry>
+ <entry>Flèche droite / Ctrl + F</entry>
<entry>
Aller au caractère suivant sur la ligne de commande
</entry>
@@ -582,7 +582,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Delete</entry>
+ <entry>Delete / Ctrl + D</entry>
<entry>
Effacer le caractère suivant sur la ligne de commande
</entry>
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c
index 24e4c9fdf..feb86e28f 100644
--- a/src/gui/curses/gui-curses-keyboard.c
+++ b/src/gui/curses/gui-curses-keyboard.c
@@ -51,6 +51,7 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* basckpace */ "ctrl-H", "backspace");
gui_keyboard_bind ( /* basckpace */ "ctrl-?", "backspace");
gui_keyboard_bind ( /* del */ "meta2-3~", "delete");
+ gui_keyboard_bind ( /* ^D */ "ctrl-D", "delete");
gui_keyboard_bind ( /* ^K */ "ctrl-K", "delete_end_line");
gui_keyboard_bind ( /* ^U */ "ctrl-U", "delete_beginning_line");
gui_keyboard_bind ( /* ^W */ "ctrl-W", "delete_previous_word");
@@ -65,7 +66,9 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* end */ "meta2-8~", "end");
gui_keyboard_bind ( /* ^E */ "ctrl-E", "end");
gui_keyboard_bind ( /* left */ "meta2-D", "left");
+ gui_keyboard_bind ( /* ^B */ "ctrl-B", "left");
gui_keyboard_bind ( /* right */ "meta2-C", "right");
+ gui_keyboard_bind ( /* ^F */ "ctrl-F", "right");
gui_keyboard_bind ( /* up */ "meta2-A", "up");
gui_keyboard_bind ( /* ^up */ "meta-Oa", "up_global");
gui_keyboard_bind ( /* down */ "meta2-B", "down");
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index a334211fe..0fd3353b8 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2007-07-18
Version 0.2.6 (under dev!):
+ * added 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
* added "buffer_move" event handler to plugins API (task #6708)
* added key function "jump_previous_buffer" to jump to buffer previously
displayed (new key: alt-J + alt-P) (task #7085)
diff --git a/weechat/doc/de/weechat.de.xml b/weechat/doc/de/weechat.de.xml
index 5e03ae0a4..8407bc38a 100644
--- a/weechat/doc/de/weechat.de.xml
+++ b/weechat/doc/de/weechat.de.xml
@@ -463,13 +463,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Links</entry>
+ <entry>Links / Strg + B</entry>
<entry>
Gehe zum vorherigen Zeichen in der Kommandozeile
</entry>
</row>
<row>
- <entry>Rechts</entry>
+ <entry>Rechts / Strg + F</entry>
<entry>
Gehe zum nächsten Zeichen in der Kommandozeile
</entry>
@@ -579,7 +579,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Entfernen</entry>
+ <entry>Entfernen / Strg + D</entry>
<entry>
Lösche das nächste Zeichen in der Kommandozeile
</entry>
diff --git a/weechat/doc/en/weechat.en.xml b/weechat/doc/en/weechat.en.xml
index 23559fbc8..fd931e2dd 100644
--- a/weechat/doc/en/weechat.en.xml
+++ b/weechat/doc/en/weechat.en.xml
@@ -458,13 +458,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Left arrow</entry>
+ <entry>Left arrow / Ctrl + B</entry>
<entry>
Go to previous char in command line
</entry>
</row>
<row>
- <entry>Right arrow</entry>
+ <entry>Right arrow / Ctrl + F</entry>
<entry>
Go to next char in command line
</entry>
@@ -573,7 +573,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Delete</entry>
+ <entry>Delete / Ctrl + D</entry>
<entry>
Delete next char in command line
</entry>
diff --git a/weechat/doc/fr/weechat.fr.xml b/weechat/doc/fr/weechat.fr.xml
index 53b6a39e1..edf48da68 100644
--- a/weechat/doc/fr/weechat.fr.xml
+++ b/weechat/doc/fr/weechat.fr.xml
@@ -467,13 +467,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</thead>
<tbody>
<row>
- <entry>Flèche gauche</entry>
+ <entry>Flèche gauche / Ctrl + B</entry>
<entry>
Aller au caractère précédent sur la ligne de commande
</entry>
</row>
<row>
- <entry>Flèche droite</entry>
+ <entry>Flèche droite / Ctrl + F</entry>
<entry>
Aller au caractère suivant sur la ligne de commande
</entry>
@@ -582,7 +582,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</entry>
</row>
<row>
- <entry>Delete</entry>
+ <entry>Delete / Ctrl + D</entry>
<entry>
Effacer le caractère suivant sur la ligne de commande
</entry>
diff --git a/weechat/src/gui/curses/gui-curses-keyboard.c b/weechat/src/gui/curses/gui-curses-keyboard.c
index 24e4c9fdf..feb86e28f 100644
--- a/weechat/src/gui/curses/gui-curses-keyboard.c
+++ b/weechat/src/gui/curses/gui-curses-keyboard.c
@@ -51,6 +51,7 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* basckpace */ "ctrl-H", "backspace");
gui_keyboard_bind ( /* basckpace */ "ctrl-?", "backspace");
gui_keyboard_bind ( /* del */ "meta2-3~", "delete");
+ gui_keyboard_bind ( /* ^D */ "ctrl-D", "delete");
gui_keyboard_bind ( /* ^K */ "ctrl-K", "delete_end_line");
gui_keyboard_bind ( /* ^U */ "ctrl-U", "delete_beginning_line");
gui_keyboard_bind ( /* ^W */ "ctrl-W", "delete_previous_word");
@@ -65,7 +66,9 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* end */ "meta2-8~", "end");
gui_keyboard_bind ( /* ^E */ "ctrl-E", "end");
gui_keyboard_bind ( /* left */ "meta2-D", "left");
+ gui_keyboard_bind ( /* ^B */ "ctrl-B", "left");
gui_keyboard_bind ( /* right */ "meta2-C", "right");
+ gui_keyboard_bind ( /* ^F */ "ctrl-F", "right");
gui_keyboard_bind ( /* up */ "meta2-A", "up");
gui_keyboard_bind ( /* ^up */ "meta-Oa", "up_global");
gui_keyboard_bind ( /* down */ "meta2-B", "down");