Skip to main content

A nbextension to select occurences of the currently selected text

Project description

Multiselection

PyPI

This nbextension allows to select occurences of the selected text in the currently active cell.

Installation

First, install jupyter_multiselection using pip:

pip install jupyter-multiselection

Next, install the nbextension using jupyter:

jupyter nbextension install --py jupyter_multiselection

Finally, enable the nbextension:

jupyter nbextension enable multiselection/multiselection

Usage

Select a word or section of text in edit mode and other occurences of the selection will be highlighted.

Highlight

Use the select next hotkey (default Ctrl+m) to select the next occurence of the selection. To select all occurences use the select all hotkey (default: 'Ctrl+Alt+m').

Highlight

Options

  • highlight - If true, all occurences of the selected word will be highlighted (default: true).
  • wrapcell - If true, after the last occurence in the cell the next selection will start from the beginning (default: true).
  • nextHotkey - Hotkey to select the next occurence (default: Ctrl+m).
  • allHotkey - Hotkey to select all occurences (default: Ctrl+Alt+m).

TODO

  • [ ] Multiselection across all cells
  • [ ] Split multi-line selection into multiple selections

History

  • @chdudek (Feb 29 2020): Inital release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jupyter-multiselection, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size jupyter_multiselection-0.1.1-py2.py3-none-any.whl (65.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size jupyter_multiselection-0.1.1.tar.gz (64.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page