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

Khan

by gerardroche ALL

Add, remove, and clears rulers.

Labels utilities

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Khan

Add, remove, and clear rulers at the current cursor using the command palette.

Usage

Add a ruler

Put your cursor at the column where you want a ruler and run “Add Ruler” from the command palette.

Command Palette → Khan: Add Ruler

Remove a ruler

Put your cursor at the ruler you want to remove and run “Remove Ruler” from the command palette.

Command Palette → Khan: Remove Ruler

Clear rulers

Run “Clear Rulers” from the command palette.

Command Palette → Khan: Clear Rulers

Installation

Method 1: Using Package Control

  1. Open Sublime Text.
  2. Access the Command Palette by pressing Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS).
  3. Type “Package Control: Install Package” and press Enter.
  4. In the input field, type “Khan” and select it from the list of available packages.

Method 2: Manual Installation

  1. Visit the Khan GitHub repository.
  2. Click on the “Code” button and choose “Download ZIP.”
  3. Unzip the downloaded file.
  4. In Sublime Text, navigate to Preferences -> Browse Packages... to access the Packages folder.
  5. Copy the “Khan” folder from the unzipped archive and paste it into the Packages folder.

Method 3: Manual Git Repository Installation

  1. Open a terminal or command prompt.
  2. Go to the Sublime Text Packages directory based on your operating system:
    • Windows: %APPDATA%\Sublime Text\Packages
    • macOS: ~/Library/Application Support/Sublime Text/Packages
    • Linux: ~/.config/sublime-text/Packages
  3. Clone the Khan plugin repository directly into the Packages directory using Git:
git clone https://github.com/gerardroche/sublime-khan.git Khan

Commands

Command Description
Khan: Add Ruler Add a ruler at the current column
Khan: Clear Rulers Clear all rulers
Khan: Remote Ruler Remove the ruler at the current column

License

Released under the GPL-3.0-or-later License.

Changelog

See CHANGELOG.md.