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

Vintage​Ex

by SublimeText ST2

An implementation of Vim's command-line mode for Sublime Text 2

Details

  • 2013.02.13.20.11.30
  • github.​com
  • github.​com
  • 5 years ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 19K
  • Win 7K
  • OS X 8K
  • Linux 4K
Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8
Windows 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 1 0 3 1 0 0 0 0 0
OS X 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 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 0 0 1
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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

VintageEx

A rendition of Vim's command-line mode for Sublime Text 2.

License

This whole package is distributed under the MIT license (see LICENSE.txt).

Compatibility

VintageEx aims at full cross-platform compatibility. Howerver, I cannot test under OS X, so patches and feedback are welcome.

Installation

Download the latest version, put it under Installed Packages and restart Sublime Text.

VintageEx doesn't replace Vintage: To use vi key bindings, you need to enable the Vintage package (shipped with Sublime Text and ignored by default).

VintageEx extends the vi-like functionality provided py Vintage by adding a command-line mode that tries to remain close to Vim's.

Also, because VintageEx uses commands in the Vintage package, this package must be under your Packages folder with that name. This is mostly important to keep in mind if you contribute code to Vintage and have deleted the original package.

Overview

To open the command line, press :.

VintageEx offers tab completion of top-level commands, so you can type a letter and press Tab to cycle through available commands.

To see the implemented commands, you can look through ex_commands.py.

Configuration

These settings should be stored in your personal preferences (Packages/User/Preferences.sublime-settings).

vintageex_linux_shell

The name of the shell through which commands should be executed (bash, ksh, etc.). If empty, the $SHELL variable will be read when a shell is needed.

vintageex_linux_terminal

The name of the preferred terminal emulator (gnome-terminal, xterm, etc.). If empty, the variables $COLORTERM and $TERM will be read in turn when a terminal is needed.

Donations

If you want to show your appreciation, you can tip me through Gittip: guillermooo.