use alt-g for filter bufferlist

this is more consistent with the other existing shortcuts and is also
the same shortcut go.py recommends in weechat-curses
This commit is contained in:
Felix Eckhofer 2014-02-21 08:17:44 +01:00
parent f10e44efe4
commit fead046eed
2 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@
<li>ALT-[0-9]: Focus on buffer</li> <li>ALT-[0-9]: Focus on buffer</li>
<li>ALT-a: Focus on next buffer with activity</li> <li>ALT-a: Focus on next buffer with activity</li>
<li>ALT-<: Switch to previous buffer</li> <li>ALT-<: Switch to previous buffer</li>
<li>CTRL+G: Focus on buffer list filter</li> <li>ALT+G: Focus on buffer list filter</li>
<li>escape: disconnect</li> <li>escape: disconnect</li>
<li>arrow keys: history navigation</li> <li>arrow keys: history navigation</li>
</ul> </ul>

View File

@ -1056,8 +1056,8 @@ weechat.directive('inputBar', function() {
return true; return true;
} }
// Ctrl+G -> focus on buffer filter input // Alt+G -> focus on buffer filter input
if ($event.ctrlKey && (code === 103 || code === 71)) { if ($event.altKey && (code === 103 || code === 71)) {
$event.preventDefault(); $event.preventDefault();
document.getElementById('bufferFilter').focus(); document.getElementById('bufferFilter').focus();
return true; return true;