From 3f214bf68603be57fddc16b5905f95d9a95f7394 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 18 Jan 2010 20:39:46 +0000 Subject: [PATCH] Restore ctrl-tab/ctrl-shit-tab --- terminatorlib/config.py | 6 ++++-- terminatorlib/terminal.py | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 2c199359..81328e7f 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -90,8 +90,10 @@ DEFAULTS = { 'zoom_out' : 'minus', 'zoom_normal' : '0', 'new_tab' : 't', - 'go_next' : 'n', # FIXME: Define ctrl-tab - 'go_prev' : 'p', #FIXME: ctrl-shift-tab + 'cycle_next' : 'Tab', + 'cycle_prev' : 'Tab', + 'go_next' : 'n', + 'go_prev' : 'p', 'go_up' : 'Up', 'go_down' : 'Down', 'go_left' : 'Left', diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 7d0274e7..ff19c302 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -1095,6 +1095,12 @@ for %s (%s)' % (name, urlplugin.__class__.__name__)) def key_new_root_tab(self): self.terminator.newtab (self, True) + def key_cycle_next(self): + self.key_go_next() + + def key_cycle_prev(self): + self.key_go_prev() + def key_go_next(self): self.emit('navigate', 'next')