- Delete deprecated split_pane_manager command plugin and all related commands - Introduce new split_pane command structure (untracked replacement) - Add guard in code_minimap to handle missing active view - Prevent language detection for non-file buffers in command_helpers This cleans up legacy split pane logic and improves stability for edge cases.
22 lines
332 B
Python
22 lines
332 B
Python
# Python imports
|
|
|
|
# Lib imports
|
|
import gi
|
|
|
|
gi.require_version('GtkSource', '4')
|
|
|
|
from gi.repository import GtkSource
|
|
|
|
# Application imports
|
|
|
|
|
|
|
|
def execute(
|
|
view: GtkSource.View,
|
|
*args,
|
|
**kwargs
|
|
):
|
|
logger.debug("Command: Focus Right Sibling")
|
|
if not view.sibling_right: return
|
|
view.sibling_right.grab_focus()
|