# Shortcut to Multiple Changes

**URL:** https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257
**Category:** Uncategorized
**Created:** [December 10, 2020, 2:39am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257 "2020-12-10T02:39:22Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Stern](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/john_stern/32/12050_2.png) [@John\_Stern](https://forum.kirupa.com/u/John_Stern)
#### Post date: [December 10, 2020, 2:39am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/1 "2020-12-10T02:39:22Z")

</div>

```
<ul>gm</ul>
<ul>chrysler</ul>
<ul>ford</ul>
 <ul>tesla</ul>

```

In a situation like this, if you find yourself having to change all the ul’s to li’s, is there a shortcut to this change?

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [December 10, 2020, 7:07am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/2 "2020-12-10T07:07:37Z")

</div>

The equivalent of _ **Find and Replace** _ in any code or text editor will allow you to go from ul to li easily. Here is that command in VS Code 🙂

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/4/4a308bb831ee5f0a6877d6146619246e6a7aef09.jpeg)

---

<div class="post-metadata">

### Author: ![John\_Stern](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/john_stern/32/12050_2.png) [@John\_Stern](https://forum.kirupa.com/u/John_Stern)
#### Post date: [December 10, 2020, 4:18pm UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/3 "2020-12-10T16:18:20Z")

</div>

Thanks for the tip but this seemingly simple request is really tough to implement. Look at this mess of a screen that comes up when I try to stumble through the process -

 ![Screen Shot 2020-12-10 at 9.08.47 AM](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/f/f8508b1f346e4580a29f6f3db56f2312a42ad634.png)  
I can’t make heads or tails of it - there must be a simpler way!  
Going back to this very basic example -

```
<ul>gm</ul>

<ul>chrysler</ul>

<ul>ford</ul>

<ul>tesla</ul>

```

I assume that the Find in Files - Replace in Files gives you the means to replace - all of the ul’s in one step if that is what you want or just replace specific ones if that is your aim, but I’ll be darned if I can figure it out.

---

<div class="post-metadata">

### Author: ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)
#### Post date: [December 10, 2020, 4:46pm UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/4 "2020-12-10T16:46:53Z")

</div>

If you have what you want to replace in a group like that, all in the same document, an easy thing to do is to select the first instance of it, then use CTRL+D (CMD+D on mac) to select each of the following instances. Once you have what you want to replace selected, start typing the replacement text and each of the selected groups will get replaced with what you type.

---

<div class="post-metadata">

### Author: ![John\_Stern](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/john_stern/32/12050_2.png) [@John\_Stern](https://forum.kirupa.com/u/John_Stern)
#### Post date: [December 11, 2020, 1:14am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/5 "2020-12-11T01:14:25Z")

</div>

Much, much better! I love the simplicity of this approach. For my needs, at this stage in my progress, this is the way to go. Thanks !

---

<div class="post-metadata">

### Author: ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)
#### Post date: [December 11, 2020, 1:42am UTC](https://forum.kirupa.com/t/shortcut-to-multiple-changes/645257/6 "2020-12-11T01:42:34Z")

</div>

It’s probably the keyboard shortcut I use the most 😁
