DEV Community

Giorgi
Giorgi

Posted on

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

Discussion (0)