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

Asklemmy

43138 readers
1334 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_[email protected]~

founded 5 years ago
MODERATORS
10
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

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

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 6 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.

[–] [email protected] 5 points 6 months ago

Thank you 🙏