# Cmd + L is not higlighting the text chunk anymore

**URL:** <https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793>\
**Category:** Help\
**Created:** [June 15, 2024, 9:15pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793 "2024-06-15T21:15:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben42](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@ben42](https://forum.cursor.com/u/ben42)\
**Post date:** [June 15, 2024, 9:15pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/1 "2024-06-15T21:15:39Z")

</div>

when i highlight a text chunk and do cmd + L, it used to paste the text chunk into the chat window. this is not happening anymore. does anyone know if updating the software has borked the hot key? what’s a way to fix it? thanks!

---

<div class="post-metadata">

**Author:** ![ben42](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@ben42](https://forum.cursor.com/u/ben42)\
**Post date:** [June 20, 2024, 1:15pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/2 "2024-06-20T13:15:06Z")

</div>

bump. does anyone know how to directly insert a chunk of code into the chat window?

---

<div class="post-metadata">

**Author:** ![amanrs](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/amanrs/32/105_2.png) [@amanrs](https://forum.cursor.com/u/amanrs)\
**Post date:** [June 21, 2024, 7:36pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/3 "2024-06-21T19:36:48Z")

</div>

What version of Cursor are you on and what OS? Could you copy/paste these details in “About Cursor”

---

<div class="post-metadata">

**Author:** ![ben42](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@ben42](https://forum.cursor.com/u/ben42)\
**Post date:** [June 22, 2024, 1:37pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/4 "2024-06-22T13:37:21Z")

</div>

hey aman! it’s

```auto
Version: 0.35.0
VSCode Version: 1.89.1
Commit: 5f9353ed8be369c4ac2b4d43596f5ff281746ec0
Date: 2024-06-08T04:53:54.048Z
Electron: 28.2.8
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0

```

---

<div class="post-metadata">

**Author:** ![amanrs](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/amanrs/32/105_2.png) [@amanrs](https://forum.cursor.com/u/amanrs)\
**Post date:** [June 22, 2024, 7:21pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/5 "2024-06-22T19:21:44Z")

</div>

what happens when you run “cmd+shift+p \> preferences: open keyboard shortcuts” search aichat.newchataction.

Also, does it start a chat in the first place? And what kinds of files does this happen in.

Would be helpful if you could send a video to [aman@anysphere.co](mailto:aman@anysphere.co)

---

<div class="post-metadata">

**Author:** ![ben42](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@ben42](https://forum.cursor.com/u/ben42)\
**Post date:** [June 23, 2024, 1:02am UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/6 "2024-06-23T01:02:26Z")

</div>

Email sent.

It does start a chat when i do cmd + L. happening in .ts files.

---

<div class="post-metadata">

**Author:** ![amanrs](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/amanrs/32/105_2.png) [@amanrs](https://forum.cursor.com/u/amanrs)\
**Post date:** [June 23, 2024, 5:32pm UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/7 "2024-06-23T17:32:07Z")

</div>

Resolved over email. The editor was in a bad state and the resolution was to reset the full editor state (rm all saved chats, extensions, keybindings, etc), run:

```auto
rm -rf ~/Library/Application\ Support/Cursor/
rm -rf ~/.cursor

```

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:13am UTC](https://forum.cursor.com/t/cmd-l-is-not-higlighting-the-text-chunk-anymore/5793/8 "2026-06-18T10:13:27Z")

</div>


