News for hackers. Stuff that matters.
Re:Ghostty 1.0 by rauanm on Friday December 27, 2024 @08:05AM (#42521771)
I tried to install and play around with it, it's really nice.

Took a bit of tinkering to set a theme and my favourite Pragmata Pro, but what ultimately annoys me is the lack of 'turnkey' selecting for text.

When I run `Cmd + A`, I want my terminal to make a full text selection of an entered command, not of the screen content. Or when I run `Option + Shift + Arrow left/right`, I want to select words from an entered command, not to type '4D;4C;4D;4C'.

I'm not a vimer or emacser, I want to have normal macos experience. For this reason alone I thought it's too early to switch and Warp is still great for me.

Re:Ghostty 1.0 by rauanm on Friday December 27, 2024 @08:11AM (#42521794)
But `ghostty +list-themes` is damn impressive.
Re:Ghostty 1.0 by vrnvu on Friday December 27, 2024 @08:51AM (#42522031)
Cmd+A to select the entered command isn't standard.

You could try:

- Ctrl+A: Move to the beginning of the line.

- Ctrl+E: Move to the end of the line.

- Ctrl+K: Cut the command from the cursor position to the end.

- Ctrl+U: Cut the command from the cursor to the beginning of the line.

- Ctrl+Y: Paste the text back.

This should work in all terminals.

Re:Ghostty 1.0 by metaltyphoon on Saturday December 28, 2024 @01:19AM (#42529016)
Ctrl+W: delete last word
Re:Ghostty 1.0 by rauanm on Sunday December 29, 2024 @08:41AM (#42539878)
You're just forcing me to be a vimer at this point. :)

By normal macos experience I mean key bindings for regular text fields, not regular terminal (whatever they're supposed to be). Afaik, Warp was the first one ever to treat terminal input as a regular text field input.

Re:Ghostty 1.0 by eviks on Friday December 27, 2024 @10:58AM (#42523224)
Good ideas (and possible in Wezterm if shell marks the semantic zones, not sure whether possible if not), though not really a normal macos experience given mac's default terminal doesn't select of an entered command on Cmd+A