linux Linux Text editor with predefined text snippets?
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearST
    stale_cheetos
    7 months ago 75%

    Visual Studio Code has this feature. You can define user snippets using a JSON format and create any alias you like for each. Then, when editing a document you just start typing the alias and press tab when it suggests the snippet (no mousing around required).

    You can also create anchor points for variable content that you then tab through and fill out after inserting a snippet. If you find yourself using the same template for your writing this might be a helpful feature.

    I’m bad at describing things, here’s some documentation: https://code.visualstudio.com/docs/editor/userdefinedsnippets.

    This is all out of the box with no plugins installed. Also, I’ll point out that although the docs are coding related, you can make these work for any type of writing.

    4
  • programming_horror
    Programming Horror stale_cheetos 8 months ago 72%
    Almost had to mark this one NSFW

    For those unfamiliar with JS: subValue (the first argument in the forEach callback) is the value contained at arr[index].

    8
    5