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.
AutoKey automation / word expander tool.
ALT + i/j/k/lto ↑←↓→ globally, and more similar shortcuts.git commit -m '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.