Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
// { "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} },
Comment on lines 45 to +50

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} },


// { "keys": ["ctrl+k", "ctrl+c"], "command": "resize_pane", "args": {"orientation": "cols"} },
// { "keys": ["ctrl+k", "ctrl+r"], "command": "resize_pane", "args": {"orientation": "rows"} },
]
4 changes: 4 additions & 0 deletions Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
// { "keys": ["super+k", "super+z"], "command": "zoom_pane", "args": {"fraction": 0.9} },
// { "keys": ["super+k", "super+shift+z"], "command": "unzoom_pane", "args": {} },

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

// { "keys": ["super+k", "super+z"], "command": "toggle_zoom_pane", "args": {"fraction": 0.9} },

// { "keys": ["super+k", "super+c"], "command": "resize_pane", "args": {"orientation": "cols"} },
// { "keys": ["super+k", "super+r"], "command": "resize_pane", "args": {"orientation": "rows"} },
]
4 changes: 4 additions & 0 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
// { "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} },

// { "keys": ["ctrl+k", "ctrl+c"], "command": "resize_pane", "args": {"orientation": "cols"} },
// { "keys": ["ctrl+k", "ctrl+r"], "command": "resize_pane", "args": {"orientation": "rows"} }
]
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Additionally, Origami allows one to zoom the current pane, making it take up a l
| `command+k` | `command+z` | Zoom the current pane so it takes up 90% of the screen (the fraction is changeable in the keybindings) |
| `command+k` | `shift+command+z` | Un-zoom: equally space all panes |

Note: in the keybindings, you can also use the `toggle_zoom_pane` command, to enable zoom/un-zoom from a single keyboard shortcut.

It is also possible to edit the pane sizes:

| First | Then | Action |
Expand Down