Ghostty
ターミナルエミュレータGhostty 1.1.2を使ってみました。
https://github.com/ghostty-org/ghostty
今後の気になる情報
- マイルストーン1.2
https://github.com/ghostty-org/ghostty/milestone/5
ローカライズはマージされてた - Windows対応
https://github.com/ghostty-org/ghostty/discussions/2563
環境
- Arch Linux
- GNOME 47.5
- ghostty 1.1.2
構築
- インストール
sudo pacman -S ghostty
- 設定
- 設定ファイル
$HOME/.config/ghostty/config - 設定リファレンス
https://ghostty.org/docs/config/reference - フォントの変更
標準のJetBrainsMono Nerd Font
13ptをHackGen Console NF
11ptに変更
標準の場合!=
とかが合字になってしまって使いにくい$HOME/.config/ghostty/config font-family = HackGen Console NF
font-size = 11 - 背景の透過
$HOME/.config/ghostty/config background-opacity = 0.9
- カスタムシェーダ (実用的かはさておき)
git clone https://github.com/hackr-sh/ghostty-shaders.git $HOME/.config/ghostty/shaders
環境によっては動作しないものもあるかもしれない$HOME/.config/ghostty/config background-opacity = 0.5
custom-shader-animation = always
custom-shader = ./shaders/animated-gradient-shader.glsl
#custom-shader = ./shaders/bettercrt.glsl
#custom-shader = ./shaders/bloom.glsl
#custom-shader = ./shaders/cineShader-Lava.glsl
#custom-shader = ./shaders/crt.glsl
#custom-shader = ./shaders/cubes.glsl
#custom-shader = ./shaders/dither.glsl
#custom-shader = ./shaders/drunkard.glsl
#custom-shader = ./shaders/fireworks-rockets.glsl
#custom-shader = ./shaders/fireworks.glsl
#custom-shader = ./shaders/galaxy.glsl
#custom-shader = ./shaders/gears-and-belts.glsl
#custom-shader = ./shaders/glitchy.glsl
#custom-shader = ./shaders/glow-rgbsplit-twitchy.glsl
#custom-shader = ./shaders/gradient-background.glsl
#custom-shader = ./shaders/in-game-crt.glsl
#custom-shader = ./shaders/inside-the-matrix.glsl
#custom-shader = ./shaders/just-snow.glsl
#custom-shader = ./shaders/matrix-hallway.glsl
#custom-shader = ./shaders/negative.glsl
#custom-shader = ./shaders/retro-terminal.glsl
#custom-shader = ./shaders/sin-interference.glsl
#custom-shader = ./shaders/smoke-and-ghost.glsl
#custom-shader = ./shaders/sparks-from-fire.glsl
#custom-shader = ./shaders/spotlight.glsl
#custom-shader = ./shaders/starfield-colors.glsl
#custom-shader = ./shaders/starfield.glsl
#custom-shader = ./shaders/tft.glsl
#custom-shader = ./shaders/underwater.glsl
#custom-shader = ./shaders/water.glsl
シェーダーは重ね掛けが可能 - カラーテーマ
以下コマンドでカラーテーマをプレビューghostty +list-themes
/
で検索、Q
で抜ける$HOME/.config/ghostty/config theme = Monokai Remastered
利用
ショートカット
動作 | ショートカット |
---|---|
設定ファイルの表示 | Ctrl + , |
コピー | Ctrl + Shift + C |
ペースト | Ctrl + Shift + V |
右に分割 | Ctrl + Shift + O |
下に分割 | Ctrl + Shift + E |
Comment