ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vintage-Origami

by garyc40 ST2/ST3

Origami shortcut keys for Vintage users

Details

  • 2013.02.06.06.56.51
  • github.​com
  • github.​com
  • 7 years ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 4K
  • Win 1K
  • OS X 2K
  • Linux 966
Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27
Windows 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 0 0 0 0 0 0 1 1 1 0 0 0
OS X 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 2 0 0 0 0 0 0 0 0 0 0
Linux 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 2 0

Readme

Source
raw.​githubusercontent.​com

Vintage Origami

Origami is an awesome Sublime Text plugin that lets you conveniently configure your panel layout using shortcut keys.

Vintage Origami is just a bunch of additional shortcut keys for Vintage users so that the use of arrow keys can be avoided and j,k,h,l can be used instead.

Caveats

  • These bindings are only available in command mode (not insert mode).

  • Instead of using super+k as the primary shortcut key, we have to use super+j instead. E.g.: super+j j would be equivalent to super+k arrow-down. The reason is to prevent conflicts with built-in default bindings (super+k super+k and super+k super+j are already assigned to some commands by default ).

So, to use this with Vintage, first press super+j, then press one of the j k l h 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

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

Install

Make sure you have Origami installed already:

https://github.com/SublimeText/Origami

Vintage Origami is available through Package Control, which is available here:

http://wbond.net/sublime_packages/package_control

Manual Install

First make sure Origami is already installed:

https://github.com/SublimeText/Origami

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 https://github.com/garyc40/Vintage-Origami.git

That's it!