✅ [AI 관련 끄적끄적] Cursor 설정 중 터미널 단축키 처리 방식 조치

 


Cursor를 처음 사용하고 영어만 보면 일단 기겁을 하는 
나는 이런 영어로 가득 찬 화면만 보면.. 큭.. OTL ㅠㅠ

당황하지는 말고...

이 메시지는 Cursor 또는 VS Code의 설정 중 "터미널 단축키 처리 방식*에 대한 안내입니다. 그리고 사용자가 Ctrl+K, Ctrl+P 같은 단축키를 눌렀을 때, 그 단축키를 VS Code가 처리할지, 아니면 터미널(shell)이 처리할지를 정할 수 있는 옵션들에 대한 설명입니다.

[원문]

Terminal > Integrated: Allow Chords 

[checkbox] Whether or not to allow chord keybindings in the terminal. Note that when this is true and the keystroke results in a chord it will bypass Terminal > Integrated: Commands To Skip Shell, setting this to false is particularly useful when you want ctrl+k to go to your shell (not VS Code). 

Terminal > Integrated: Commands To Skip Shell 

A set of command IDs whose keybindings will not be sent to the shell but instead always be handled by VS Code. This allows keybindings that would normally be consumed by the shell to act instead the same as when the terminal is not focused, for example Ctrl+P to launch Quick Open. 

Many commands are skipped by default. To override a default and pass that command's keybinding to the shell instead, add the command prefixed with the character. For example add -workbench.action.quickOpen to allow Ctrl+P to reach the shell. 

The following list of default skipped commands is truncated when viewed in Settings Editor. To see the full list, open the default settings JSON and search for the first command from the list below. 

Default Skipped Commands: 
aichat.newchataction 
cursorai.action.acceptAndRunGereratelnTerminal 
cursorai.action.canceIGeneratelnTerminal 
cursorai.action.generatelnTerminal 
cursorai.action.hideGeneratelnTerminal 
cursorai.action.rejecttGeneratelnTerminal 
 
Terminal > Integrated: Send Keybindings To Shell 
[checkbox] Dispatches most keybindings to the terminal instead of the workbench, overriding Terminal > Integrated: Commands To Skip Shell, which can be used alternatively for fine tuning.

** Cursor 메시지는 복사가 안되서 전부 다 타이핑 한 것은 아닙니다. 화면을 캡처한 후 Papago 이미지 번역을 했습니다.

✅ 요약: 각 설정의 의미

1. Terminal > Integrated: Allow Chords ([체크박스])

  • 기능: Ctrl+K, Ctrl+P 같은 *연속 단축키 조합(chord)*을 허용할지 여부.

  • 체크 O: VS Code가 해당 키 조합을 자신이 먼저 인식하고 처리함 (기본 추천).

  • 체크 X: 해당 키를 터미널(shell)에서 처리하도록 넘김 (예: Linux 명령어 입력에 활용하고 싶을 때 유용).

추천: 개발 작업이 목적이라면 ✅ 체크 유지 (VS Code 단축키 사용이 우선).


2. Terminal > Integrated: Commands To Skip Shell

  • 기능: 어떤 명령어 단축키는 터미널로 보내지 말고 VS Code에서만 처리하라는 의미.

  • 예: Ctrl+P → Quick Open (파일 찾기)

  • 특정 명령어를 터미널에 보내고 싶다면, -명령어ID 형태로 직접 설정에서 제외시킬 수 있음.


3. Terminal > Integrated: Send Keybindings To Shell ([체크박스])

  • 기능: 대부분의 단축키를 VS Code가 아닌 터미널로 직접 보내도록 설정

  • 체크 O: 거의 모든 키를 터미널에 우선 전달

  • 체크 X: VS Code에서 먼저 처리 → 기본 동작 유지됨

추천: 초보자나 코드 중심 개발자라면 체크하지 않는 것이 안전


✅ 앞으로 어떻게 해야 할까?

개발 작업을 계속하기 위해 추천하는 설정:

항목 체크 여부 이유
Allow Chords ✅ 체크 Ctrl+K, Ctrl+P 등 VS Code 기능을 원활히 쓰기 위해
Send Keybindings To Shell ❌ 미체크 터미널 키 입력 충돌 방지 (초보자 기준)
Commands To Skip Shell 기본 유지 특별한 이유가 없다면 VS Code 기본 단축키를 그대로 사용

✅ 체크박스 설정 방법

  1. 방법 1: GUI 설정 창에서 체크

    • Ctrl + , (또는 File → Preferences → Settings)

    • 우측 상단 톱니바퀴 → Open Settings (UI) 선택

    • 검색창에 Terminal > Integrated: 입력

    • Allow Chords, Send Keybindings To Shell 항목 옆에 있는 체크박스를 클릭하여 설정

  2. 방법 2: 설정 JSON 직접 수정

    • Ctrl + Shift + PPreferences: Open Settings (JSON)

    • 다음 항목을 추가 또는 수정:

      {
        "terminal.integrated.allowChords": true,
        "terminal.integrated.sendKeybindingsToShell": false
      }
      

✅ 마무리 팁

  • 단축키가 먹히지 않거나 터미널이 이상하게 반응할 때, 이 설정이 원인일 수 있습니다.

  • 특히 Cursor AI의 경우 단축키 조합이 중요하므로, Allow Chords: true는 필수에 가깝습니다.



모르는 것은 모두 AI와 상의하면 이런 친절한 답변을 줍니다. ^^

댓글