V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
skykale
V2EX  ›  分享发现

来点美丽的 Ghostty 配置,让终端更美

  •  
  •   skykale · 1 天前 · 909 次点击

    V 友们,来点让终端更美的配置,最近老在 CLi 上用 Claude code 和 Codex ,这环境得布置一下

    8 条回复    2026-03-06 21:32:12 +08:00
    hitrip
        1
    hitrip  
       1 天前
    ghostty +list-themes
    ratazzi
        2
    ratazzi  
       1 天前
    https://www.cuteghostty.com/
    这个卡哇伊的吗
    skykale
        3
    skykale  
    OP
       1 天前
    @ratazzi 太卡哇伊了,这是要重新下一个吗
    ratazzi
        4
    ratazzi  
       1 天前
    @skykale 这是基于原版改的,不是同一个 app
    Mrazz
        5
    Mrazz  
       1 天前
    @ratazzi #4 新增标签页会随机主题,可以关吗这功能
    Kakarrot
        6
    Kakarrot  
       1 天前   ❤️ 1
    我的是让 claude 直接为我编写了一个

    ```
    # ============================================
    # Ghostty 配置 - 针对 Claude Code 优化 (Dark)
    # ============================================

    # --- 字体 ---
    font-family = JetBrainsMono Nerd Font
    font-size = 14
    font-thicken = true
    adjust-cell-height = 35%

    # --- 主题与配色 ---
    theme = GitHub
    background-opacity = 0.92
    background-blur-radius = 20
    minimum-contrast = 1.05

    # --- 光标 ---
    cursor-style = bar
    cursor-style-blink = false
    cursor-color = #cba6f7

    # --- 窗口 ---
    window-padding-x = 12
    window-padding-y = 8
    window-padding-balance = true
    window-decoration = auto
    window-title-font-family = JetBrains Mono
    confirm-close-surface = false
    quit-after-last-window-closed = true

    # --- 滚动 ---
    scrollback-limit = 100000

    # --- 鼠标 ---
    mouse-hide-while-typing = true
    copy-on-select = clipboard
    click-repeat-interval = 300

    # --- 剪贴板 ---
    clipboard-read = allow
    clipboard-write = allow
    clipboard-paste-protection = false

    # --- Shell 集成 ---
    shell-integration = detect
    shell-integration-features = cursor,sudo,title

    # --- 快捷键 ---
    keybind = super+equal=increase_font_size:1
    keybind = super+minus=decrease_font_size:1
    keybind = super+zero=reset_font_size

    keybind = super+d=new_split:right
    keybind = super+shift+d=new_split:down
    keybind = super+w=close_surface
    keybind = super+shift+enter=toggle_split_zoom

    keybind = super+alt+left=goto_split:left
    keybind = super+alt+right=goto_split:right
    keybind = super+alt+up=goto_split:top
    keybind = super+alt+down=goto_split:bottom

    keybind = super+up=scroll_to_top
    keybind = super+down=scroll_to_bottom
    keybind = page_up=scroll_page_up
    keybind = page_down=scroll_page_down

    # --- 其他 ---
    bold-is-bright = false
    auto-update = check
    term = xterm-ghostty
    ```
    ratazzi
        7
    ratazzi  
       1 天前
    @Mrazz 不知道呢,我用原版
    ccc00
        8
    ccc00  
       1 天前
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   981 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:11 · PVG 07:11 · LAX 15:11 · JFK 18:11
    ♥ Do have faith in what you're doing.