Switch to adjacent buffer with alt+arrow

Use alt+up and alt+down to switch to previous / next buffer.
Works when bufferlist is nested or flat.

This implements issue #511.
This commit is contained in:
Mukunda Modell 2015-12-01 17:02:32 -06:00
commit 3b60f992b4
3 changed files with 21 additions and 1 deletions

View file

@ -84,7 +84,7 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
var notification = 0;
var unread = 0;
var lastSeen = -1;
var serverSortKey = fullName.replace(/^irc\.server\.(\w+)/, "irc.$1");
var serverSortKey = fullName.replace(/^irc\.server\.(\w+)/, "irc.$1").toLowerCase();
// There are two kinds of types: bufferType (free vs formatted) and
// the kind of type that distinguishes queries from channels etc
var bufferType = message.type;