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

Sublime​Block​Cursor

by SublimeText ST2

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

Details

  • 2013.01.26.22.59.19
  • github.​com
  • 12 years ago
  • 8 minutes ago
  • 13 years ago

Installs

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

SublimeBlockCursor

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>