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

12 points

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.

permalink
report
reply
5 points

Thank you 🙏

permalink
report
parent
reply
0 points

This person is a genocide denialist.

permalink
report
reply

Asklemmy

!asklemmy@lemmy.ml

Create post

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

Community stats

  • 10K

    Monthly active users

  • 5.9K

    Posts

  • 319K

    Comments