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
  • 11 years ago
  • 50 minutes ago
  • 12 years ago

Installs

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