기존 사용하던 VSCode에서 Cursor로 전환하면서 사용하게 될 단축키와 설정 값에 대해 정리해보았다.
자동으로 다음 줄 혹은 블록을 제안한다. 수락 시 TAB키 활용
CMD+K, CMD+I, CMD+L 등 무슨 차이인가?
K는 빠른 AI명령이 가능하고, @심볼명 을 태그하여 코드 참조가 가능하다.
I는 인라인 채팅(기본적으로 작업 중 인 코드 참조하며, 코드 수정도 같이 해주며 더 긴밀한 코드 분석 및 제안을 해준다.)
L는 일반적인 채팅(코드 컨텍스트 참조가 아닌, 코드 제안은 하지만 수정할 수 없는 채팅)
[
// [1] 터미널 및 에디터 포커스 전환 (기존 설정 유지)
{
"key": "ctrl+;",
"command": "terminal.focus",
"when": "editorFocus",
},
{
"key": "ctrl+;",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus",
},
{
"key": "ctrl+;",
"command": "workbench.action.focusActiveEditorGroup",
"when": "explorerViewletFocus",
},
{
"key": "ctrl+[Backquote]",
"command": "workbench.action.toggleMaximizedPanel",
"when": "terminalFocus",
},
{
"key": "shift+enter",
"command": "workbench.action.terminal.sendSequence",
"args": { "text": "\u001b\r" },
"when": "terminalFocus",
},
{
"key": "alt+shift+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus",
},
{
"key": "alt+shift+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus",
},
// [2] 탐색기(Explorer) 제어 (기존 설정 유지)
{
"key": "ctrl+d",
"command": "explorer.newFolder",
"when": "explorerViewletFocus",
},
{
"key": "ctrl+f",
"command": "explorer.newFile",
"when": "explorerViewletFocus",
},
// [3] 에디터 편집 기능 개선 (Hover 및 정의 이동 - 기존 설정 유지)
{
"key": "ctrl+e",
"command": "-cursorLineEnd",
"when": "textInputFocus",
},
{
"key": "ctrl+e",
"command": "editor.action.showHover",
"when": "editorTextFocus",
},
{
"key": "cmd+r cmd+i",
"command": "-editor.action.showHover",
"when": "editorTextFocus",
},
{
"key": "alt+cmd+enter",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus",
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus",
},
// [4] Claude Code 설정 (기존 설정 최적화)
{
"key": "ctrl+l",
"command": "claude-vscode.sidebar.open",
"when": "!auxiliaryBarVisible",
},
{
"key": "ctrl+l",
"command": "-expandLineSelection",
},
// FIX: 공식에서도 해결 안해주고 있는 문제 (FOCUS INPUT SHORTCUT NOT WORKING)
// 맥에서는 정상작동, 윈도우에서는 작동안됨
// {
// "key": "ctrl+shift+l",
// "command": "claude-vscode.focus",`
// "when": "!claude-vscode.focus && auxiliaryBarVisible",
// },
// [5] Antigravity Agent 설정 (신규 추가: alt+l)
{
"key": "alt+l",
"command": "antigravity.toggleChatFocus",
"when": "!terminalFocus",
},
// [6] 기존 잘못된 바인딩 해제 (Clean-up)
{
"key": "ctrl+p",
"command": "-antigravity.toggleChatFocus",
},
{
"key": "ctrl+l",
"command": "-antigravity.toggleChatFocus",
},
{
"key": "ctrl+shift+l",
"command": "-antigravity.toggleChatFocus",
},
{
"key": "ctrl+shift+l",
"command": "-antigravity.startNewConversation",
},
// [7] Auxliary Bar 닫기 (claude code & antigravity 공통)
{
"key": "ctrl+l",
"command": "workbench.action.closeAuxiliaryBar",
"when": "auxiliaryBarVisible",
},
]
CLI alias
```bash
alias rnios="npx react-native run-ios --simulator 'iPhone SE (3rd generation)'"
alias rnmyios="npx react-native run-ios"
alias rnand="npx react-native run-android"
alias rncache="npx react-native start --reset-cache"