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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more