This commit is contained in:
Kovid Goyal
2018-09-22 17:28:53 +05:30
2 changed files with 4 additions and 0 deletions

View File

@@ -271,6 +271,8 @@ class Tab: # {{{
def previous_window(self):
self._next_window(-1)
prev_window = previous_window
def neighboring_window(self, which):
neighbors = self.current_layout.neighbors(self.windows, self.active_window_idx)
candidates = neighbors.get(which)