• Stars
    star
    124
  • Rank 282,402 (Top 6 %)
  • Language
    Python
  • Created over 12 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sublime Text 2 plugin to mimic a block cursor in Vintage command mode.

SublimeBlockCursor

Screenshot

When using "Vintage Mode" in Sublime Text 2, it can become very difficult to keep track of your cursor location. In vim this is solved by having a "block" cursor, which is very easy to spot no matter where it is on screen. Unfortunately, Sublime Text 2 does not (yet) support this feature natively. This Plugin mimics this functionality by highlighting the area behind the cursor whenever it moves (similar to how you might highlight syntax errors, or color a comment).

Installation

With Package Control

If you have the Package Control installed, you can install SublimeBlockCursor from inside Sublime Text itself. Open the Command Palette and select "Package Control: Install Package", then search for SublimeBlockCursor and youโ€™re done!

Without Package Control

Go to your Sublime Text 2 Packages directory:

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

and clone the repository there

git clone git://github.com/netpro2k/SublimeBlockCursor

Configuration

You can change the style of the block cursor by adding a section to your theme file like so:

<dict>
	<key>name</key>
	<string>Block Cursor</string>
	<key>scope</key>
	<string>block_cursor</string>
	<key>settings</key>
	<dict>
		<key>foreground</key>
		<string>#212121</string>
		<key>background</key>
		<string>#9ca9b7</string>
	</dict>
</dict>