[migrated to PieFed]

✍︎ arscyni.cc: modernity ∝ nature.


Jumped ship to PieFed: https://piefed.social/u/arsCynic

  • 0 posts
  • 1 comment
Joined 2 years ago
Cake day: November 14th, 2024
  • AutoKey automation / word expander tool.

    • I reconfigure ALT + i/j/k/l to ↑←↓→ globally, and more similar shortcuts.
    • It expands abbreviations of one’s choice like “gCo” to git commit -m '
    • One can assign scripts to abbreviations and hotkeys. E.g., when I press CTRL + Shift + [ it surrounds the selected text with a tag:
    text_selected = clipboard.get_selection()
    text_input = dialog.input_dialog(title="Wrap with a tag.", message="E.g., type cite to get <cite>x</cite>.", default="")
    keyboard.send_key("<delete>")
    clipboard.fill_clipboard(f"<{text_input[1]}>{text_selected}</{text_input[1]}>")
    keyboard.send_keys("<ctrl>+v")
    

    I’m likely not even harnessing AutoKey’s full capabilities and it’s already absolutely indispensable for being a huge time-saver and annoyance reducer.

    - -
    ✍︎ arscyni.cc: modernity ∝ nature.