diff options
| author | a73x <[email protected]> | 2024-12-28 19:01:09 +0000 |
|---|---|---|
| committer | a73x <[email protected]> | 2024-12-29 11:53:19 +0000 |
| commit | 71513b80ebc21240b5b68d8bbbf8b7ee2f54893e (patch) | |
| tree | e455d4abc2813cbc1acfa579a2e46ee7f3d2d002 /public/posts | |
| parent | 1071996f58fe766e71cb9af80d13084b2e3c41b9 (diff) | |
post: ghostty
Diffstat (limited to 'public/posts')
| -rw-r--r-- | public/posts/2024-12-28-01.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/public/posts/2024-12-28-01.html b/public/posts/2024-12-28-01.html new file mode 100644 index 0000000..7278911 --- /dev/null +++ b/public/posts/2024-12-28-01.html @@ -0,0 +1,113 @@ + +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="description" content="Home for a73x" /> + <meta name="author" content="a73x" /> + <meta name="viewport" + content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width" /> + <title>a73x</title> + <link rel="stylesheet" href="/static/styles.css"> + <link rel="stylesheet" href="/static/syntax.css"> + <link rel="icon" type="image/x-icon" href="/static/favicon.svg"> +</head> + +<body> + <main> + <div class="header"> + <div class="header-title"> + <h1>a73x</h1> + <sub>high effort, low reward</sub> + </div> + <nav class="nav"> + <ul> + + + <li><a class="no-decorations" href="/">home</a></li> + + + + <li><a class="no-decorations" href="/posts">posts</a></li> + + + + <li><a class="no-decorations" href="/ethos">ethos</a></li> + + + </ul> + </nav> + </div> + +<a href="/posts">← Posts</a> +<h1>Ghostty</h1> +<p>Well, Ghostty is now finally released, so I’ll briefly explain why I’ve adopted it.</p> + +<p>For context, I’ve been using Alacritty for the last few years, and I’ve tried almost every terminal emulator under the sun—st, terminal, iTerm2, kitty, western, rxvt-unicode, Hyper, Warp, and a few others. One key requirement is cross-platform—I swap between MacOS and Linux a fair bit—and another is performance.</p> + +<p>I landed on Alacritty because it’s blazing fast, cross-platform, and has just enough features to cover my needs.</p> + +<p>Kitty is another performant terminal, but I’ve always been hesitant to adopt it due to Kovid Goyal’s stewardship. I’ve witnessed a few occasions where users have been hung out to dry, as their desired use case didn’t fall within Kovid’s view of the world. For instance, his intense dislike of multiplexers means anything multiplexer related is <a href="https://sw.kovidgoyal.net/kitty/faq/#i-am-using-tmux-and-have-a-problem">immediately shutdown</a>—he repeatedly says they’re a hack—but has failed to implement all the features that would allow multiplexer users to leave their multiplexers behind—like some form of <a href="https://github.com/kovidgoyal/kitty/issues/391#issuecomment-846071535">session persistence</a>.</p> + +<p>I understand the project is large and constantly being bombarded with repeat questions can lead to curtness but I don’t want to accidentally depend on a bug to find myself <a href="https://github.com/kovidgoyal/kitty/discussions/7735#discussioncomment-10370765">hung out to dry</a>.</p> + +<p>But onto Ghostty which, like Kitty, is feature rich. It has built-in ligatures, nerd fonts, and themes, provides tabs/panes and window management, and is highly performant. Not bad for a first release.</p> + +<p>I’ve been trialling it since release (I didn’t make it for the beta), and it’s been seamless so far—my biggest praise is how it just works—I’ve not experienced any issues—it looks good, and it’s snappy.</p> + +<p>My configuration is fairly straightforward; I’ve cleared all keybindings, so I manually set the ones I need. Two things I want to call out are <code>window-colorspace</code> and <code>toggle_quick_terminal</code>, both are macOS only settings.</p> + +<ul> +<li><code>window-colorspace</code> changes colorspace from <code>srgb</code> to <code>display-p3</code>… I can’t actually perceive a difference.</li> +<li><code>toggle_quick_terminal</code> gives you a little drop down terminal from the top which is nifty for quick actions</li> +</ul> +<pre tabindex="0" class="chroma"><code><span class="line"><span class="cl"># Fonts +</span></span><span class="line"><span class="cl">font-family = "Hack" +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl"># Mouse +</span></span><span class="line"><span class="cl">mouse-hide-while-typing = true +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl"># UI +</span></span><span class="line"><span class="cl">theme = "catppuccin-mocha" +</span></span><span class="line"><span class="cl">cursor-invert-fg-bg = true +</span></span><span class="line"><span class="cl">background-opacity = 0.8 +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl">window-padding-x = 10 +</span></span><span class="line"><span class="cl">window-padding-y = 10 +</span></span><span class="line"><span class="cl">window-padding-balance = true +</span></span><span class="line"><span class="cl">window-decoration = false +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl">macos-titlebar-style = hidden +</span></span><span class="line"><span class="cl">window-colorspace = display-p3 +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl"># Keybindings +</span></span><span class="line"><span class="cl">keybind = super+n=new_window +</span></span><span class="line"><span class="cl">keybind = super+w=close_window +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl">keybind = super+c=copy_to_clipboard +</span></span><span class="line"><span class="cl">keybind = super+v=paste_from_clipboard +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl">keybind = super+shift+i=inspector:toggle +</span></span><span class="line"><span class="cl">keybind = super+shift+r=reload_config +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl">keybind = global:ctrl+space=toggle_quick_terminal +</span></span><span class="line"><span class="cl"> +</span></span><span class="line"><span class="cl"># Misc +</span></span><span class="line"><span class="cl">confirm-close-surface = false +</span></span><span class="line"><span class="cl">copy-on-select = clipboard +</span></span></code></pre> +<p>It’s a strong contender for those who feel disillusioned by kitty but want more than Alacritty offers, and it requires minimal configuration out of the box—so I highly recommend giving it a try.</p> + + + <footer> + <br /> + <hr /> + <br /> + <p>see something you disagree with? email: <a href="mailto:[email protected]">[email protected]</a></p> + </footer> + </main> +</body> + +</html> + |
