Skip to content

netpro2k/SublimeBlockCursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages