Skip to content

Expose toggle_zoom_pane command#180

Open
darby3 wants to merge 4 commits into
SublimeText:masterfrom
darby3:patch-1
Open

Expose toggle_zoom_pane command#180
darby3 wants to merge 4 commits into
SublimeText:masterfrom
darby3:patch-1

Conversation

@darby3
Copy link
Copy Markdown

@darby3 darby3 commented May 20, 2026

Didn't know this existed til I was digging around in old issues; thought it might help to surface it.

Comment on lines 45 to +50
// { "keys": ["ctrl+k", "ctrl+z"], "command": "zoom_pane", "args": {"fraction": 0.9} },
// { "keys": ["ctrl+k", "ctrl+shift+z"], "command": "unzoom_pane", "args": {} },

// To toggle zoom/unzoom from a single keybinding, use this command:

// { "keys": ["ctrl+k", "ctrl+z"], "command": "toggle_zoom_pane", "args": {"fraction": 0.9} },
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the context, I think this would have more consistent style:

  // { "keys": ["ctrl+k", "ctrl+z"], "command": "zoom_pane", "args": {"fraction": 0.9} },
  // { "keys": ["ctrl+k", "ctrl+shift+z"], "command": "unzoom_pane", "args": {} },
  // To toggle zoom/unzoom from a single keybinding, use:
  // { "keys": ["ctrl+k", "ctrl+z"], "command": "toggle_zoom_pane", "args": {"fraction": 0.9} },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants