Jump/delete across whole (non-whitespace) words with Ctrl+Left/Right/Delete/Backspace.
Project description
Jump/delete across whole (non-whitespace) words with Ctrl+Left/Right/Delete/Backspace.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-whole-word-jumping
# or: xpip install -U git+https://github.com/xonsh/xontrib-whole-word-jumping
Usage
xontrib load whole_word_jumping
Control+left/right
: Jump to previous/next whole wordControl+backspace
: Delete to beginning of whole wordControl+delete
: Delete to end of whole wordShift+delete
: Delete whole word
Alt+Left/Right/Delete/Backspace remain unmodified:
Alt+left/right
: Jump to previous/next tokenAlt+backspace
: Delete to beginning of tokenAlt+delete
: Delete to end of token
Known issues
Some terminals cannot differentiate between Backspace and Control+Backspace.
In this case, users can set $XONSH_WHOLE_WORD_CTRL_BKSP = False
to skip
configuration of the Control+Backspace key binding.
Credits
This package was created with xontrib template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xontrib-whole-word-jumping-0.0.1.tar.gz
.
File metadata
- Download URL: xontrib-whole-word-jumping-0.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9482ec271a6dc66009dc456bb8f9aaf39adee7b60e9ad51f61196dbe8dd57ab2 |
|
MD5 | 06a672ce53567554affe1b1093af574f |
|
BLAKE2b-256 | 5ab897a22fd3992ca863ab4ecbc6cf081a32f887b324eae92629d26fd1d8a6ae |
File details
Details for the file xontrib_whole_word_jumping-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: xontrib_whole_word_jumping-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04633876dc19ed9e3687e5e77088dbff30079b863d48b09105cae7054e1a55a3 |
|
MD5 | e838d685fbe7ae6194ce8a0e5bde21dc |
|
BLAKE2b-256 | 8acfd239d591963430815f806edac444183828f18c72fecc0cb180f37c9c43fc |