Sometimes adding a blank character helps with formatting. For example on Lemmy, it helps me separate lines of text if I insert a blank character between other lines. Currently, do that by copy-and-pasting the blank character from elsewhere. Here is an example

Is there a way I can do this on Linux easily from the keyboard? I am using KDE Neon and have the compose key enabled so that I can easily type uncommon characters like , ñ, and é easily.

  • @RoyalEngineering@lemmy.world
    link
    fedilink
    English
    27 months ago

    My go-to would be AutoHotKey on Windows. Maybe this Linux version would work? https://github.com/phil294/AHK_X11

    Looks like you can get a script that replaces

    ; hotstrings - expand 'btw' to 'By the way' as you type
    ::btw::By the way
    ; hotkeys - press winkey-z to go to Google
    #z::Run http://google.com
    

    You might be able to use whatever character you’re using instead of {Space}:

    F19::{Space}