VintageousOrigami
Add Vim like pane management to Vintageous using SublimeText/Origami
Details
Installs
- Total 5K
- Win 2K
- Mac 2K
- Linux 1K
Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
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
- These bindings are only available in command mode (not insert mode).
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 pane
Also adds custom bindings:
x
: Close windowX
: Close all windows
The following Origami bindings are still available after pressing ctrl+w
.
- no modifiers: travel to an adjacent pane
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
.)
Commands
The following basic commands are implemented:
* :sp[lit]
: Horizontal split
* :vne[w]
: Vertical split with new file
By 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 one
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:
- Windows: %APPDATA%\Sublime Text 3
- OS X: ~/Library/Application Support/Sublime Text 3
- Linux: ~/.config/sublime-text-3
- Portable Installation: Sublime Text 3/Data
Then clone this repository:
git clone https://github.com/rodcloutier/Vintageous-Origami.git
Todo
- Add support for arguments to :sp :vs :new :vnew
Inspired by https://github.com/garyc40/Vintage-Origami