DEV Community

Giorgi
Giorgi

Posted on

2

Lazy Type (custom-abbreviation)

this (link) mini script gives you chance to write everyday text with simple abbreviations.

you should add
keyboard.add_abbreviation('Abbreviation','value')in config.py
and start the script with sudo python3 abbr.py

Example of config.py:

settings=[
keyboard.add_abbreviation('@@', 'example@email.com'),
keyboard.add_abbreviation('HH', 'SecondAbbreviation'),
]

Usage:

write your abbreviation anywhere and press space

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs