Live data from Hacker News

Libghostty is coming

mitchellh.com

11–20 of 275 posts

Re: Libghostty is coming

#11
post #5
post #4

I've been keeping an eye on this in the hopes that text-reflow (edit: including for scrollback) could be solved in Neovim-based terminals [1]. I'm loving the innovation Ghostty is bringing to the terminal space. 1. https://github.com/neovim/neovim/issues/33155

Do you consider yourself a neovim terminal power user? I tried a while back to invert my workflow (from tmux driving neovim to neovim driving terminals) because I thought it might be easier to only ever have one buffer open for a given file, instead of attempting to open a file in a given pane only to realize that it's already open in a different neovim instance in a different pane. When I was testing that stuff out…

I do indeed live in the terminal (all day due to work), but tmux adds too much value for me to do all terminal management in Neovim (tmux session-management being what I use most). I've just encountered too many visual "glitches" in the Neovim terminal to rely on it for everything. That's not to say, however, that I never use the built-in Neovim :terminal.

> I thought it might be easier to only ever have one buffer open for a given file, instead of attempting to open a file in a given pane only to realize that it's already open in a different neovim instance

This is not a problem in my config:

    vim.api.nvim_create_autocmd({ 'FocusGained', 'BufEnter', 'CursorHold' }, {
      pattern = '\*',
      command = 'silent! checktime',
    })
Since `'autoread'` is by default `on` in Neovim, this seamlessly reloads the buffer if the underlying file has been updated on disk.

Re: Libghostty is coming

#12
post #5
post #4

I've been keeping an eye on this in the hopes that text-reflow (edit: including for scrollback) could be solved in Neovim-based terminals [1]. I'm loving the innovation Ghostty is bringing to the terminal space. 1. https://github.com/neovim/neovim/issues/33155

Do you consider yourself a neovim terminal power user? I tried a while back to invert my workflow (from tmux driving neovim to neovim driving terminals) because I thought it might be easier to only ever have one buffer open for a given file, instead of attempting to open a file in a given pane only to realize that it's already open in a different neovim instance in a different pane. When I was testing that stuff out…

I'm all in on Neovim terminals, having a remote development setup means it keeps my terminal with my neovim window (I use nvim-qt).

Also not sure how ghostty would help, haven't noticed text reflowing issues.

It's not bad, a little awkward getting used to:

- you might want a plugin to give you a "persistent" terminal across all tabs

- I still haven't found a way to clear scroll back while a command is running

- I had to set up mappings for easier exiting terminal mode (c-\ c-n really sucks)

- I had to set up events so whenever a terminal buffer is focused it immediately enters insert mode. While I love vim, I've never wanted modal editing in a terminal

Re: Libghostty is coming

#15

I love how this guy founds + takes public + sells a multibillion company and then just goes right back to hacking. Legend.

And hacking on tty software too, the geekiest corner of the Unix tech stack.

Re: Libghostty is coming

#16
The passion and attention to detail Mitchell has for developer experience is beyond me. I remember the first time I used Vagrant (2011, Santa Monica California) like it was yesterday it was that impactful.

I never thought in a million years I would even think of ditching iTerm2 but when Ghostty dropped I installed it and fell in love.

Re: Libghostty is coming

#18
On the very day ghostty refuses to load my theme because themes now start with an uppercase letter; the same day I'm no longer able to enter `^` (a caret) for some reason. Not to mention the multiple times where the clipboard suddenly and completely stopped functioning, in the last few weeks.

I love ghostty, but if it keeps suddenly failing for no apparent reason I might have to go back to wezterm.

Re: Libghostty is coming

#19

I wish they had used something like this in Shopify, instead they decided it was a good idea to embed VScode in the browser in case users want to make a small modification to theme files, it even has a 5 second boot time.

What’s a user-friendly mouse friendly modeless cli text editor you can compile to wasm?

micro?
Post reply on HN