/krabby-selection

A Krabby plugin to make selections with Selection

Primary LanguageJavaScriptThe UnlicenseUnlicense

A Krabby plugin to make selections with Selection.

Installation

Edit your manifest and fetch files.

~/.config/krabby/fetch

fetch https://cdn.jsdelivr.net/npm/@simonwep/selection-js/dist/selection.min.js mouse-selection.js
fetch https://github.com/alexherbo2/krabby-selection/raw/master/src/krabby/selection.js krabby/selection.js
fetch https://github.com/alexherbo2/krabby-selection/raw/master/src/krabby/selection.css krabby/selection.css

~/.config/krabby/manifest/common.json

{
  "content_scripts": [
    {
      "js": [
        "packages/mouse-selection.js",
        "packages/krabby/selection.js"
      ],
      "css": [
        "packages/krabby/selection.css"
      ]
    }
  ]
}

Run the following in your terminal:

cd ~/.config/krabby
make

Usage

Hold Control or Command, then click and drag Left Mouse to make a multi-selection.