kjagiello / BlockCursorEverywhere

Sublime Text plugin to display a block cursor in Vintage and Vintageous command mode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlockCursorEverywhere

Screenshot

It can become very difficult to keep track of your cursor location, especially with the Vintage or Vintageous plugins. This is solved by having a "block" cursor, which is very easy to spot no matter where it is on screen. Sublime Text 2 and 3 do not yet support this feature natively. This plugin achieves the effect by highlighting a colored region behind the cursor.

Installation

With Package Control

The easiest way to install Block Cursor Everywhere is via Package Control for Sublime Text.

Once you install Package Control, restart Sublime Text and bring up the Command Palette with Command+Shift+P on OS X or Control+Shift+P on Linux/Windows.

Select Package Control: Install Package, wait while Package Control fetches the latest package list, then select Block Cursor Everywhere when the list appears. Package Control will automatically keep the package up-to-date.

Without Package Control

Go to your Sublime Text Packages directory:

Windows: %USERPROFILE%\AppData\Roaming\Sublime Text 3\Packages\
Mac: ~/Library/Application Support/Sublime Text 3/Packages/

and clone the repository there.

Configuration

Change the style of the block cursor by adding a section to your color scheme file like the following.

<dict>
	<key>name</key>
	<string>Block Cursor</string>
	<key>scope</key>
	<string>block_cursor</string>
	<key>settings</key>
	<dict>
		<key>foreground</key>
		<string>#000000</string>
		<key>background</key>
		<string>#FF1111</string>
	</dict>
</dict>

The path to your color scheme file can be specified with the color_scheme key in your user preferences:

{
	"color_scheme": "Packages/User/Monokai (Block Cursor Everywhere).tmTheme"
}

If you don't have a color scheme file yet, you can create one in your Packages/User directory from this gist.

About

Sublime Text plugin to display a block cursor in Vintage and Vintageous command mode


Languages

Language:Python 100.0%