# \[Quickscript\] Newline, but don't move the comments

**URL:** https://racket.discourse.group/t/quickscript-newline-but-dont-move-the-comments/2384
**Category:** Show & Tell
**Created:** [October 13, 2023, 1:30pm UTC](https://racket.discourse.group/t/quickscript-newline-but-dont-move-the-comments/2384 "2023-10-13T13:30:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Laurent.O](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/laurent.o/32/18_2.png) [@Laurent.O](https://racket.discourse.group/u/Laurent.O)
#### Post date: [October 13, 2023, 1:30pm UTC](https://racket.discourse.group/t/quickscript-newline-but-dont-move-the-comments/2384/1 "2023-10-13T13:30:38Z")

</div>

[Link to the quickscript.](https://gist.github.com/Metaxal/0b1dd0176f9d4700e68a14eba1ceff2a)

Suppose you have the following code:

```scheme
(define pairs
  '([a b]
    [c d])) ; This pair is special

```

and you want to add a new pair `[e f]`. You press Enter after the `[c d]` but you get:

```scheme
(define pairs
  '([a b]
    [c d]
    )) ; This pair is special

```

and now you need to move the comment back to its original line.  
With [this quickscript](https://gist.github.com/Metaxal/0b1dd0176f9d4700e68a14eba1ceff2a), instead you just need to press `Control-Enter` instead of `Enter` to get:

```scheme
(define pairs
  '([a b]
    [c d] ; This pair is special
    |))

```

with the cursor at `|` ready to type the next pair.
