rodcloutier / Vintageous-Origami

Add Vim like pane management to Vintageous using SublimeText/Origami
45 stars 6 forks source link

Vintageous Origami

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.

Notes

To use this with Vintageous, first press ctrl+w, then press one of following key

Also adds custom bindings:

The following Origami bindings are still available after pressing ctrl+w.

The following Origami bindings will not work.

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

Commands

The following basic commands are implemented:

By default, the plugin overrides the following command provided by Vintageous to provide a behaviour that is more consistent with Vim's

Each of the override can be toggle with the appropriate settingfollowing preferences vintageous_origami_override_command_vsplit

Settings

See Vintageous-origami/Preferences.sublime-settings for a comprehensive list of settings.

Install

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.

Manual Install

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

Todo

Inspired by https://github.com/garyc40/Vintage-Origami