Set Cursor as Default Editor on macOS (Instead of Xcode) —…
    Neura MarketNeura Market/Cursor
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityExtensionsTrending
    CursorBlogSet Cursor as Default Editor on macOS (Instead of Xcode)
    Back to Blog
    Set Cursor as Default Editor on macOS (Instead of Xcode)
    claude

    Set Cursor as Default Editor on macOS (Instead of Xcode)

    Yunus Emre Ak September 8, 2025
    0 views

    Xcode Yerine Cursor: macOS Varsayılan Editör Değiştirme Backup mkdir -p...

    Set Cursor as Default Editor on macOS (Instead of Xcode)

    Backup

    mkdir -p ~/backup_defaults
    defaults read com.apple.LaunchServices/com.apple.launchservices.secure > ~/backup_defaults/launch_services_$(date +%Y%m%d_%H%M%S).plist
    
    for ext in json py js ts tsx md txt sh yml yaml toml c cpp java go rb php html css; do
      current=$(duti -x .$ext 2>/dev/null | head -1)
      [ ! -z "$current" ] && echo ".$ext: $current" >> ~/backup_defaults/duti_backup_$(date +%Y%m%d_%H%M%S).txt
    done
    

    Cursor ID

    osascript -e 'id of app "Cursor"'
    # com.todesktop.230313mzl4w4u92
    

    duti

    brew install duti
    

    File Types

    CURSOR_ID="com.todesktop.230313mzl4w4u92"
    
    # General
    duti -s $CURSOR_ID public.json all
    duti -s $CURSOR_ID public.plain-text all
    duti -s $CURSOR_ID public.python-script all
    duti -s $CURSOR_ID public.shell-script all
    duti -s $CURSOR_ID public.source-code all
    duti -s $CURSOR_ID public.text all
    duti -s $CURSOR_ID public.unix-executable all
    duti -s $CURSOR_ID public.data all
    
    # Extensions
    for ext in c cpp cs css go java js sass scss less vue cfg json jsx log lua md php pl py rb ts tsx txt conf yaml yml toml xml svg; do
      duti -s $CURSOR_ID .$ext all
    done
    

    Shell & Git

    echo 'export EDITOR="cursor"' >> ~/.zshrc
    echo 'export VISUAL="cursor"' >> ~/.zshrc
    git config --global core.editor "cursor --wait"
    

    Verify

    duti -x .py
    duti -x .js
    duti -x .md
    

    Read the original: Set Cursor as Default Editor on macOS (Instead of Xcode)

    Tags

    claudeaivibecodingcursor

    Comments

    More Blog

    View all
    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timerscursor

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and timers

    Cursor Automations in 2026: wire event-triggered coding agents to Slack, CI, and...

    M
    Manu Shukla
    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Developmentai

    Index Everything, or Read Everything? The Dilemma of Feeding Specs to AI in Multi-Repo Development

    The specs exist. The AI just can't see them. I've always been the type who builds hobby...

    S
    Shunya Shida
    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)amazonbedrock

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026)

    Connect Claude Code, Cursor and Codex to Amazon Bedrock's new console (2026) Summary. On 5...

    M
    Manu Shukla
    Spotting AI UI is too easyai

    Spotting AI UI is too easy

    There is a weird uncanny valley with LLM-generated UI right now. The code functions perfectly, but if...

    H
    Harish .s
    Seven ranking frameworks, one search page, zero translation tablesai

    Seven ranking frameworks, one search page, zero translation tables

    I went down a rabbit hole this morning reading the late-2025 Juejin AI roundups side by side, and the...

    N
    ninghonggang
    Zendesk MCP: Let Claude Handle Your Support Ticketsmcp

    Zendesk MCP: Let Claude Handle Your Support Tickets

    Install guide and config at curatedmcp.com Zendesk MCP: Let Claude Handle Your Support...

    C
    curatedmcp

    Stay up to date

    Get the latest Cursor prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Cursor and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Cursor resource

    • Interactive Image Editor with FLUX: Fill Tool for Inpaintingn8n · $14.99 · Related topic
    • Nano Banana AI Image Editor via Telegramn8n · $9.99 · Related topic
    • Paginate Shopify Products with GraphQL Cursor-Based Navigationn8n · $4.99 · Related topic
    • Reset Zammad User Roles to Default Settingsn8n · $9.99 · Related topic
    Browse all workflows