summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-07-05 16:13:04 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-07-05 16:13:04 +0200
commit273256eea94cc22d3717c0e304323156034c33c8 (patch)
treef90ecadb1f0b6c094bf9ec9c72b5b12837a446e3
parent3de7b2ff3d097ba779f544620552852b7939b511 (diff)
downloadweechat-273256eea94cc22d3717c0e304323156034c33c8.zip
core: add default key alt+"s" (toggle aspell)
-rw-r--r--ChangeLog1
-rw-r--r--doc/de/weechat_user.de.txt2
-rw-r--r--doc/en/weechat_user.en.txt1
-rw-r--r--doc/fr/weechat_user.fr.txt1
-rw-r--r--doc/it/weechat_user.it.txt2
-rw-r--r--src/gui/curses/gui-curses-key.c1
6 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 762e2a5b0..58b416163 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ v0.3.9-dev, 2012-07-05
Version 0.3.9 (under dev!)
--------------------------
+* core: add default key alt+"s" (toggle aspell)
* core: add cmake option "MANDIR" (bug #36776)
* core: add callback "nickcmp" in buffers
* core: add horizontal separator between windows, new options
diff --git a/doc/de/weechat_user.de.txt b/doc/de/weechat_user.de.txt
index c9da8a680..2002bf61c 100644
--- a/doc/de/weechat_user.de.txt
+++ b/doc/de/weechat_user.de.txt
@@ -657,6 +657,8 @@ Tastenbefehle für die Befehlszeile
| @k(A-)@k(d) | löscht das Wort rechts vom Cursor (Zeichenkette wird in Zwischenablage kopiert) | /input delete_next_word
| @k(A-)@k(k) | zeigt den Tastencode, einschließlich des eingebundenen Befehls, einer Tastenkombination an und fügt diesen in die Befehlszeile ein | /input grab_key_command
| @k(A-)@k(r) | komplette Eingabezeile löschen| /input delete_line
+// TRANSLATION MISSING
+| @k(A-)@k(s) | Toggle aspell | /mute aspell toggle
|========================================
[[key_bindings_buffers_windows]]
diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt
index 1974a8ed1..648862c24 100644
--- a/doc/en/weechat_user.en.txt
+++ b/doc/en/weechat_user.en.txt
@@ -642,6 +642,7 @@ Keys for command line
| @k(A-)@k(d) | Delete next word in command line (deleted string is copied to clipboard) | /input delete_next_word
| @k(A-)@k(k) | Grab a key and insert its code (and command bound if key exists) in command line | /input grab_key_command
| @k(A-)@k(r) | Delete entire command line | /input delete_line
+| @k(A-)@k(s) | Toggle aspell | /mute aspell toggle
|========================================
[[key_bindings_buffers_windows]]
diff --git a/doc/fr/weechat_user.fr.txt b/doc/fr/weechat_user.fr.txt
index c60965c46..ad8d05d59 100644
--- a/doc/fr/weechat_user.fr.txt
+++ b/doc/fr/weechat_user.fr.txt
@@ -654,6 +654,7 @@ Touches pour la ligne de commande
| @k(A-)@k(d) | Effacer le mot suivant (la chaîne supprimée est copiée dans le presse-papiers) | /input delete_next_word
| @k(A-)@k(k) | Capturer une touche et insérer son code (et la commande associée si la commande existe) sur la ligne de commande | /input grab_key_command
| @k(A-)@k(r) | Effacer entièrement la ligne de commande | /input delete_line
+| @k(A-)@k(s) | Activer/désactiver aspell | /mute aspell toggle
|========================================
[[key_bindings_buffers_windows]]
diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt
index 7f87dea2a..01ffc8da4 100644
--- a/doc/it/weechat_user.it.txt
+++ b/doc/it/weechat_user.it.txt
@@ -665,6 +665,8 @@ Tasti per la riga di comando
| @k(A-)@k(d) | Elimina la parola successiva nella riga di comando (la stringa eliminata viene copiata negli appunti) | /input delete_next_word
| @k(A-)@k(k) | Cattura un tasto ed inserisce il suo codice (e il comando associato se il tasto esiste) nella riga di comando | /input grab_key_command
| @k(A-)@k(r) | Elimina l'intera riga di comando | /input delete_line
+// TRANSLATION MISSING
+| @k(A-)@k(s) | Toggle aspell | /mute aspell toggle
|========================================
[[key_bindings_buffers_windows]]
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c
index 92393ac9a..70591b160 100644
--- a/src/gui/curses/gui-curses-key.c
+++ b/src/gui/curses/gui-curses-key.c
@@ -138,6 +138,7 @@ gui_key_default_bindings (int context)
BIND(/* m-j,m-s */ "meta-jmeta-s", "/server jump");
BIND(/* m-h */ "meta-h", "/input hotlist_clear");
BIND(/* m-k */ "meta-k", "/input grab_key_command");
+ BIND(/* m-s */ "meta-s", "/mute aspell toggle");
BIND(/* m-u */ "meta-u", "/window scroll_unread");
BIND(/* ^S^U */ "ctrl-Sctrl-U", "/input set_unread");
BIND(/* ^Cb */ "ctrl-Cb", "/input insert \\x02");