All Projects → karlhorky → BlockCursorEverywhere

karlhorky / BlockCursorEverywhere

Licence: other
Sublime Text plugin to display a block cursor

Programming Languages

python
139335 projects - #7 most used programming language

BlockCursorEverywhere

A block cursor for Sublime Text 2 and 3.

Screenshot

The default cursor in Sublime Text is a thin line with low visibility. Command mode in the Vintage and Vintageous plugins decreases the visibility even further. This plugin displays the cursor as a rectangular block, increasing its prominence on the screen.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].