Origami is an awesome Sublime Text plugin that lets you conveniently configure your panel layout using shortcut keys.
Vintageous Origami adds pane management shortcut using Origami functionality similar to Vim's window managment. It tries to match as best as possible Vim behaviour. Origami's shortcuts are also available through the familiar Vim ctrl+w
shortcut.
To use this with Vintageous, first press ctrl+w
, then press one of following key
v
ctrl+v
: Vertical splits
S
ctrl+s
: Horizontal splitc
: Close panen
ctrl+n
: New horizontal split with empty fileo
ctrl+o
: Make current pane the only onel
, <right>
: Move to right paneh
, <left>
: Move to left panek
, <up>
: Move to up panej
, <down>
: Move to down paneL
: Exchange with right paneH
: Exchange with left paneK
: Exchange with up paneJ
: Exchange with down paneAlso adds custom bindings:
x
: Close windowX
: Close all windowsThe following Origami bindings are still available after pressing ctrl+w
.
The following Origami bindings will not work.
shift
: carry the current file to the destinationalt
(option
): clone the current file to the destinationsuper
: create an adjacent panesuper+shift
: destroy an adjacent pane(Note: Windows and Linux use ctrl
instead of super
.)
The following basic commands are implemented:
:sp[lit]
: Horizontal split:vne[w]
: Vertical split with new fileBy default, the plugin overrides the following command provided by Vintageous to provide a behaviour that is more consistent with Vim's
:vs[plit]
: Vertical split:new
: Horizontal split with new file:on[ly]
: Make current pane the only oneEach of the override can be toggle with the appropriate settingfollowing preferences vintageous_origami_override_command_vsplit
See Vintageous-origami/Preferences.sublime-settings for a comprehensive list of settings.
Make sure you have Origami installed already:
https://github.com/SublimeText/Origami
Make sure you have Vintageous installed already:
https://github.com/guillermooo/Vintageous
Enable Vintageous to use ctrl keys in your preferences
`"vintageous_use_ctrl_keys": true`
This plugin is available through Package Control.
First make sure Origami is already installed:
https://github.com/SublimeText/Origami
Go to your Packages subdirectory under ST3's data directory:
Then clone this repository:
git clone https://github.com/rodcloutier/Vintageous-Origami.git
Inspired by https://github.com/garyc40/Vintage-Origami