Skip to main content

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 word
  • Control+backspace: Delete to beginning of whole word
  • Control+delete: Delete to end of whole word
  • Shift+delete: Delete whole word

Alt+Left/Right/Delete/Backspace remain unmodified:

  • Alt+left/right: Jump to previous/next token
  • Alt+backspace: Delete to beginning of token
  • Alt+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


Download files

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

Source Distribution

xontrib_whole_word_jumping-0.0.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xontrib_whole_word_jumping-0.0.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file xontrib_whole_word_jumping-0.0.2.tar.gz.

File metadata

File hashes

Hashes for xontrib_whole_word_jumping-0.0.2.tar.gz
Algorithm Hash digest
SHA256 319ac6ee0a2bf6ba664ad746b69ac6f92d9c24226896efe6668db1f2aaca05f3
MD5 7202fe6de6ca58e2dca8b24a922840d7
BLAKE2b-256 ff929791d3fca96ef0f57a30e9be6a56439084bd91800b71e5be5cbeb835c69f

See more details on using hashes here.

File details

Details for the file xontrib_whole_word_jumping-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for xontrib_whole_word_jumping-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4ed95c45abf26f7602e39cf1e830ed22f3b4ffbb4e50b37f49cfba444db3537c
MD5 d99f84c53693137c23c1ee3ea3f74586
BLAKE2b-256 3ec436e8ab83d6cd3324fc8e96d985e183d115be365ffbd3d523ffbefb85c0e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page