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

Quick​Replace​At​Cursor

by JorisL ST3

Sublime text plugin for quickly replacing one or more predefined characters at the cursor position with another set of characters.

Details

Installs

  • Total 447
  • Win 290
  • Mac 101
  • Linux 56
Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27
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 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 1 0 0
Linux 0 0 0 0 1 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
bitbucket.​org

QuickReplaceAtCursor

Sublime text plugin for quickly replacing one or more predefined characters at the cursor position with another set of characters. This can for example be used to quickly insert unicode characters.

Installation

Via Package Control
Search for QuickReplaceAtCursor

Manual Clone this project in your Packages folder under the name QuickReplaceAtCursor.
git clone https://JorisL@bitbucket.org/JorisL/quickreplaceatcursor.git QuickReplaceAtCursor

Usage

By default this plugin is configured to quickly replace a single character with it's corresponding greek alphabetical symbol, or replace several characters with a mathematical symbol.

This plugin is - for example - configure to replace the character “p” just before the cursor with the character “π”, or “inf” with “∞” when executing the QuickReplaceAtCursor command (default ctrl+shift+g, or via the command pallate).

Configuration

The settings of this plugin (Preferences → Package Settings → QuickReplaceAtCursor → Settings - Default) has one configuration parameter replacements which is a dictionary (list) with each set of characters to possibly be replaced followed by the corresponding characters to be replaced by. This can be modified in the Settings - User file. An example configuration can be:

{
    "replacements": {
        "a": "ɑ", // alpha
        "deg": "°",
    }
}

With this example configuration; when the text just before the cursor is “deg” (without quotes), this will be replaced by “°” (also without characters). When the character before the cursor is “a”, this will be replaced by “ɑ”. If neither is the case then nothing will happen.