Skip to content

Notepad++ Multi-Editing Text

This post is part 4 of 5 in the series Notepad++ Tips and Tricks
Logo for blog post "Multi-Editing in Notepad++"

You can use Notepad++ to quickly insert, edit, or delete text in multiple locations in one file – at the same time! All you have to do is enable Multi-Editing, and then hold CTRL while you click or select text. This is a fast and easy way to edit parts of your document in just a few seconds.

Animation showing Multi-Editing in Notepad++

Multi-Editing in Notepad++

In this example, we want to update the titles of some of the persons in the list. We also want to assign them to a new group.

Step 1: Update Titles

1. Open Preferences:

Screenshot of opening preferences window
Click Settings → Preferences

2. Navigate to the Editing options and click to enable Multi-Editing:

Screenshot of enabling Multi Editing in preferences
Click Editing → Enable Multi-Editing

3. You can now hold CTRL while you mouse click to activate the caret in multiple locations. It can be a little difficult to see, but the caret will blink in each location you have selected:

Screenshot of multiple carets set and blinking
CTRL+Mouse Click to set multiple carets

4. When you start typing, you will see that you are typing in multiple locations at the same time:

Screenshot of multi-editing to insert text
Type in multiple locations

Step 2: Assign New Groups

5. You can also hold CTRL while you mouse drag to select text in multiple locations:

Screenshot of selecting text in multiple locations
CTRL+Mouse Drag to select in multiple locations

6. When you start typing, you will see that you are editing in multiple locations at the same time:

Screenshot of editing text in multiple locations
Edit in multiple locations

Summary

You can enable Multi-Editing in Notepad++ to quickly insert, edit, or delete text in multiple locations in one file – at the same time! This is an extremely useful feature when you need it :)

About the Author

Cathrine Wilhelmsen is a Microsoft Data Platform MVP, BimlHero Certified Expert, Microsoft Certified Solutions Expert, international speaker, author, blogger, and chronic volunteer who loves teaching and sharing knowledge. She works as a Senior Business Intelligence Consultant at Inmeta, focusing on Azure Data and the Microsoft Data Platform. She loves sci-fi, chocolate, coffee, craft beers, ciders, cat gifs and smilies :)

Comments

Hi! This is Cathrine. Thank you so much for visiting my blog. I'd love to hear your thoughts, but please keep in mind that I'm not technical support for any products mentioned in this post :) Off-topic questions, comments and discussions may be moderated. Be kind to each other. Thanks!

(smile)

That is a very cool trick. I’ve used notepad++ for years and didn’t know you could do that. I knew the alt+ shift trick but not the ctrl +click trick. Thanks for the info!

Hi! This is Cathrine (again). Just a reminder. I'd love to hear your thoughts, but please keep in mind that I'm not technical support for any products mentioned in this post :) Off-topic questions, comments and discussions may be moderated. Be kind to each other. Thanks!

Leave a Reply to B. Gale Cancel reply