splits.py (1068B)
1 from talon import Module, actions, app 2 3 mod = Module() 4 mod.tag("splits", desc="Tag for enabling generic window split commands") 5 6 7 @mod.action_class 8 class Actions: 9 def split_window_right(): 10 """Move active tab to right split""" 11 12 def split_window_left(): 13 """Move active tab to left split""" 14 15 def split_window_down(): 16 """Move active tab to lower split""" 17 18 def split_window_up(): 19 """Move active tab to upper split""" 20 21 def split_window_vertically(): 22 """Splits window vertically""" 23 24 def split_window_horizontally(): 25 """Splits window horizontally""" 26 27 def split_flip(): 28 """Flips the orietation of the active split""" 29 30 def split_window(): 31 """Splits the window""" 32 33 def split_clear(): 34 """Clears the current split""" 35 36 def split_clear_all(): 37 """Clears all splits""" 38 39 def split_next(): 40 """Goes to next split""" 41 42 def split_last(): 43 """Goes to last split""" 44 45 def split_number(index: int): 46 """Navigates to a the specified split"""