Skip to content
/ Origami Public
forked from SublimeText/Origami

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

Notifications You must be signed in to change notification settings

Gatix/Origami

 
 

Repository files navigation

Origami

Origami is a new way of thinking about panes in Sublime Text: you tell Sublime Text where you want a new pane, and it makes one for you.

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.

As a bonus side effect, any inactive panes are dimmed slightly (or, for you with dark color schemes, greyed slightly) so that you can easily keep track of where you're working. If you'd rather keep all your panes bright and cheery, set fade_inactive_panes to false in your user settings. Additionally, you can adjust the grey scale of the inactive schemes using the fade_inactive_panes_grey_scale (default: 0.2).

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 super+k. First press super+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
  • super: create an adjacent pane
  • super+shift: destroy an adjacent pane

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

(Note: Windows uses ctrl instead of super.)

Install

This plugin is available through Package Control, which is available here:

http://wbond.net/sublime_packages/package_control

Manual Install

Go to your Packages subdirectory under ST2's data directory:

  • Windows: %APPDATA%\Sublime Text 2
  • OS X: ~/Library/Application Support/Sublime Text 2
  • Linux: ~/.config/sublime-text-2
  • Portable Installation: Sublime Text 2/Data

Then clone this repository:

git clone git://github.com/SublimeText/Origami.git

If you're a Vintage Mode user:

git clone -b vintage git@github.com:Gatix/Origami.git

That's it!

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%