this post was submitted on 30 Jan 2024
10 points (70.8% liked)

Asklemmy

44181 readers
1648 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
10
submitted 11 months ago* (last edited 11 months ago) by aStonedSanta@lemm.ee to c/asklemmy@lemmy.ml
 

I am trying to create a template in notepad++. Where my fields are hard coded as in I can highlight and delete but my fields stay and the values are erased. I could just copy and paste the template over each time. But I’m lazy as hell. Any ability to remove more button clicks is a win lol

you are viewing a single comment's thread
view the rest of the comments
[–] ohto@lemmy.sdf.org 12 points 11 months ago (1 children)

You can make this a macro and trigger it with just a hot key.

Select Start Recording in the Macro menu. Open the search dialog, in the “Find what” field just type three characters: “:.*” (that’s a colon, period, and asterisk). In the “Replace with” field enter just a single colon. Switch search mode to “Regular expression”, and make sure “matches new line” box is not checked, and hit Replace All.

Now Stop Recording in the Macro menu, and then Save Current Recorded Macro. Give it a name and optionally a hot key, and note you can run it from the Macro menu or the hot key.

[–] aStonedSanta@lemm.ee 5 points 11 months ago

Thank you 🙏