From a783270b09af3d873c08a01d13f802018b69fb02 Mon Sep 17 00:00:00 2001 From: a73x Date: Sun, 29 Dec 2024 19:13:27 +0000 Subject: new markdown renderer since TOC has a title now and it can compact toc headers, we can use header 2 for everything use the built in goldmark extension for syntax highlighting --- public/posts/2024-12-28-01.html | 94 +++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 51 deletions(-) (limited to 'public/posts/2024-12-28-01.html') diff --git a/public/posts/2024-12-28-01.html b/public/posts/2024-12-28-01.html index 7278911..06d0206 100644 --- a/public/posts/2024-12-28-01.html +++ b/public/posts/2024-12-28-01.html @@ -25,79 +25,71 @@ +
← Posts

Ghostty

-

Well, Ghostty is now finally released, so I’ll briefly explain why I’ve adopted it.

+

Well, Ghostty is now finally released, so I'll briefly explain why I've adopted it.

+

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.

+

I landed on Alacritty because it's blazing fast, cross-platform, and has just enough features to cover my needs.

+

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 immediately shutdown—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 session persistence.

+

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 hung out to dry.

+

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.

+

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.

+

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 window-colorspace and toggle_quick_terminal, both are macOS only settings.

+ +
# Fonts
+font-family = "Hack"
 
-

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.

+# Mouse +mouse-hide-while-typing = true -

I landed on Alacritty because it’s blazing fast, cross-platform, and has just enough features to cover my needs.

+# UI +theme = "catppuccin-mocha" +cursor-invert-fg-bg = true +background-opacity = 0.8 -

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 immediately shutdown—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 session persistence.

+window-padding-x = 10 +window-padding-y = 10 +window-padding-balance = true +window-decoration = false -

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 hung out to dry.

+macos-titlebar-style = hidden +window-colorspace = display-p3 -

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.

+# Keybindings +keybind = super+n=new_window +keybind = super+w=close_window -

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.

+keybind = super+c=copy_to_clipboard +keybind = super+v=paste_from_clipboard -

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 window-colorspace and toggle_quick_terminal, both are macOS only settings.

+keybind = super+shift+i=inspector:toggle +keybind = super+shift+r=reload_config -
    -
  • window-colorspace changes colorspace from srgb to display-p3… I can’t actually perceive a difference.
  • -
  • toggle_quick_terminal gives you a little drop down terminal from the top which is nifty for quick actions
  • -
-
# Fonts
-font-family = "Hack"
-
-# Mouse
-mouse-hide-while-typing = true
-
-# UI
-theme = "catppuccin-mocha"
-cursor-invert-fg-bg = true
-background-opacity = 0.8
-
-window-padding-x = 10
-window-padding-y = 10
-window-padding-balance = true
-window-decoration = false
-
-macos-titlebar-style = hidden
-window-colorspace = display-p3
-
-# Keybindings
-keybind = super+n=new_window
-keybind = super+w=close_window
-
-keybind = super+c=copy_to_clipboard
-keybind = super+v=paste_from_clipboard
-
-keybind = super+shift+i=inspector:toggle
-keybind = super+shift+r=reload_config
-
-keybind = global:ctrl+space=toggle_quick_terminal
-
-# Misc
-confirm-close-surface = false
-copy-on-select = clipboard
-
-

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.

+keybind = global:ctrl+space=toggle_quick_terminal + +# Misc +confirm-close-surface = false +copy-on-select = clipboard +

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.