46 lines
1 KiB
Python
46 lines
1 KiB
Python
from talon import Module, actions, app
|
|
|
|
mod = Module()
|
|
mod.tag("splits", desc="Tag for enabling generic window split commands")
|
|
|
|
|
|
@mod.action_class
|
|
class Actions:
|
|
def split_window_right():
|
|
"""Move active tab to right split"""
|
|
|
|
def split_window_left():
|
|
"""Move active tab to left split"""
|
|
|
|
def split_window_down():
|
|
"""Move active tab to lower split"""
|
|
|
|
def split_window_up():
|
|
"""Move active tab to upper split"""
|
|
|
|
def split_window_vertically():
|
|
"""Splits window vertically"""
|
|
|
|
def split_window_horizontally():
|
|
"""Splits window horizontally"""
|
|
|
|
def split_flip():
|
|
"""Flips the orietation of the active split"""
|
|
|
|
def split_window():
|
|
"""Splits the window"""
|
|
|
|
def split_clear():
|
|
"""Clears the current split"""
|
|
|
|
def split_clear_all():
|
|
"""Clears all splits"""
|
|
|
|
def split_next():
|
|
"""Goes to next split"""
|
|
|
|
def split_last():
|
|
"""Goes to last split"""
|
|
|
|
def split_number(index: int):
|
|
"""Navigates to a the specified split"""
|