New keyboard shortcut alt-n: toggle nicklist

This commit is contained in:
Tor Hveem 2013-10-29 12:50:02 +01:00
parent 3c01ad1b68
commit 70abe58afe
1 changed files with 7 additions and 0 deletions

View File

@ -771,6 +771,13 @@ weechat.directive('inputBar', function() {
return true;
}
// Left Alt+n -> toggle nicklist
if ($event.altKey && !$event.ctrlKey && code == 78) {
$event.preventDefault();
$scope.nonicklist = !$scope.nonicklist;
return true;
}
// Alt+A -> switch to buffer with activity
if ($event.altKey && (code == 97 || code == 65)) {
$event.preventDefault();