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.

  • DarkNightoftheSoul@mander.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    Most people don’t seem to know this, but you can in fact do line breaks on lemmy, too:

    For each line you want to break
    add two spaces to the end of the line
    then press enter just once

      • DarkNightoftheSoul@mander.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 month ago

        Another one for ya: when quoting block text with the character “>”, put a “>” on the blank lines between paragraphs to continue a single block quote.

        so not

        like this

        instead

        like this

        formatting on lemmy is frankly bad, at least documentation of

    • moody@lemmings.world
      link
      fedilink
      arrow-up
      8
      ·
      1 month ago

      Yes, but it mostly depends how it’s interpreted by a given program. Some will interpret it as a character being there, but it may take up no space on the screen, for example. Some will show a space, but won’t count it as a space character so it can bypass some text restrictions. Some may show different spacing. Many will also simply not accept them as valid characters.

  • RoyalEngineering@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month 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}
    
  • kamiheku@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 month ago

    FYI you can “separate lines” by simply adding two newlines by pressing Return twice.

    Like this.