mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Merge branch 'prev_' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -791,6 +791,8 @@ class Boss:
|
|||||||
if tm is not None:
|
if tm is not None:
|
||||||
tm.next_tab(-1)
|
tm.next_tab(-1)
|
||||||
|
|
||||||
|
prev_tab = previous_tab
|
||||||
|
|
||||||
def special_window_for_cmd(self, cmd, window=None, stdin=None, cwd_from=None, as_overlay=False):
|
def special_window_for_cmd(self, cmd, window=None, stdin=None, cwd_from=None, as_overlay=False):
|
||||||
w = window or self.active_window
|
w = window or self.active_window
|
||||||
if stdin:
|
if stdin:
|
||||||
|
|||||||
@@ -271,6 +271,8 @@ class Tab: # {{{
|
|||||||
def previous_window(self):
|
def previous_window(self):
|
||||||
self._next_window(-1)
|
self._next_window(-1)
|
||||||
|
|
||||||
|
prev_window = previous_window
|
||||||
|
|
||||||
def neighboring_window(self, which):
|
def neighboring_window(self, which):
|
||||||
neighbors = self.current_layout.neighbors(self.windows, self.active_window_idx)
|
neighbors = self.current_layout.neighbors(self.windows, self.active_window_idx)
|
||||||
candidates = neighbors.get(which)
|
candidates = neighbors.get(which)
|
||||||
|
|||||||
Reference in New Issue
Block a user