Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here

Origami

Split the window however you like! Create new panes, delete panes, move and clone views from pane to pane.

Subscribe to updates I use Origami


Statistics on Origami

Number of watchers on Github 989
Number of open issues 32
Average time to close an issue about 2 months
Main language JavaScript
Average time to merge a PR 5 days
Open pull requests 8+
Closed pull requests 9+
Last commit almost 3 years ago
Repo Created over 8 years ago
Repo Last Updated over 2 years ago
Size 96 KB
Organization / Authorsublimetext
Contributors17
Page Updated
Do you use Origami? Leave a review!
View open issues (32)
View Origami activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating Origami for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Origami

Origami is a new way of thinking about panes in Sublime Text 2 and 3: you tell Sublime Text where you want a new pane, and it makes one for you. It works seamlessly alongside the built-in layout commands.

Ordinarily one uses the commands under View>Layout, or if one is quite intrepid a custom keyboard shortcut can be made to give a specific layout, but both of these solutions were unsatisfactory to me. Perhaps they were to you too! That's what this plugin is for.

Try it out! I think you'll like it.

Keyboard shortcuts

Origami is driven by keyboard shortcuts. By default, these keyboard shortcuts are all two-stage, and are hidden behind command+k. First press command+k, then press the arrow keys with modifiers:

  • no modifiers: travel to an adjacent pane
  • shift: carry the current file to the destination
  • alt (option): clone the current file to the destination
  • command: create an adjacent pane
  • command+shift: destroy an adjacent pane

These keyboard shortcuts are designed to make it really easy to modify the layout of your editor.

Additionally, Origami allows one to zoom the current pane, making it take up a large portion of the window. As above, first press command+k, then press:

  • command+z: Zoom the current pane so it takes up 90% of the screen (the fraction is changeable in the keybindings)
  • shift+command+z: Unzoom: equally space all panes

It is also possible to edit the pane sizes. After command+k press:

  • command+r: Adjust the top and bottom separator
  • command+c: Adjust the left and right separator

In the keybindings you can change a mode which specifies which separation lines you want to edit.

  • ALL means all horizontal (or vertical) separators
  • RELEVANT means all horizontal (or vertical) separators which intersect the column (row) of the selected row.
  • NEAREST means top and bottom (or left and right) separators. This is the default mode.
  • BEFORE means top (or left) separator
  • AFTER means bottom (or right) separator

(Note: Windows and Linux use ctrl instead of command.)

Automation

You can have Origami automatically zoom the active pane by setting origami_auto_zoom_on_focus in your user preferences. Set it to true for the default zoom, or set it to a user-definable fraction of the screen, such as 0.75.

Origami can also automatically close a pane for you once you've closed the last file in it. Just set origami_auto_close_empty_panes to true in your user preferences.

Install

Search for Origami on Package Control!

Origami open issues Ask a question     (View All Issues)
  • about 4 years Clone command doesn't create pane if necessary
  • about 4 years Sublime 3 crashing when opening a file inside the origami split on left or right
  • over 4 years Auto zoom pane not working?
  • over 4 years open "Pane by type" setting
  • over 4 years Inconsistent background color until window is focused
  • almost 5 years redefine origami keybindings
  • almost 5 years Move settings out of user settings
  • about 5 years Create new window from a sublime project/workspace
  • about 5 years Doesn't auto-create pane with `clone file to the right` and other weirdness
  • over 5 years Sublime crash on closing the first panel
  • over 5 years Show filename in pane header / pane separation
  • over 5 years `travel_to_pane` should be symmetrical
  • about 6 years Allow joining of separators.
  • about 6 years assign pane based on extension
  • over 6 years Origami should have a message that Package Control can show on install/upgrade
  • almost 7 years Animate pane zooming
  • almost 7 years Autoclose doesnt work after moving last file
  • over 7 years Focus MRU tab when moving a view out of the pane
Origami open pull requests (View All Pulls)
  • Make `LayoutCommand`s callables without prompting the user
  • Add SwapFilesWithPaneCommand
  • Closes issue #71
  • Indicate default mode for pane resizing in Readme
  • Adding `Contextual menu` for Origami
  • Check for huge layout ratios
  • Put carried and pulled files after existing tabs
  • Load package's user settings instead of global preferences
Origami questions on Stackoverflow (View All Questions)
  • List Origami ~ Generation of new list from two
  • Origami transition end value not set properly
  • Origami transition using CATransform3D perspective
  • How does Rose Tree unfold work (from Origami Programming)
  • Create a small scrollable area in quartz composer origami
  • [Origami+Quartz Composer]Same animation as Elevate App
  • How to use Origami with Windows?
  • Origami couldn't export iOS code (Swipe-away navigation)
  • what and why is Origami(prototyping framework by facebook) used for?
  • Origami (Facebook) - mp4 video playing fast
  • How do I use the exported iOS code from Facebook Origami?
  • iOS Paper fold (origami / accordion) effect animation, with manual control
  • Origami/accordion effect on Android
  • is there any way to run Origami demo on iPhone?
  • How can I include Facebook Origami effects in my app?
  • Quartz Composer and Origami: Can't get X value to change with Interaction2 patch
  • Quartz Composer Switch Layers (Origami)
  • Extract and recomprise PDF file using Origami
  • How to export Quartz Composer/Origami composition to QuickTime as an animation?
  • Recommended JS library for origami-like paper folding animation
  • Origami fold effect for UIView and NavigationController Bar
  • Save panes layout generated by Origami in Sublime Text 2
  • How to create 3D DNA Origami struture using cadnano
  • Origami Paper Effect
  • Getting Origami-pdf to work with Amazon S3 files
Origami list of languages used
Other projects in JavaScript
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark