I love WezTerm! In the author's spirit of obsessive tweaking, here's a completely inconsequential configuration change I made. By default, WezTerm doesn't have a scrollbar, but you can easily enable it with: config.enable_scroll_bar = true But now you always have a scrollbar, just a big line on the side when there's no scrollback or you're in alternate screen mode. Horrible! So, here's an event handler that will auto…
How to Obsessively Tune WezTerm
61–70 of 73 posts
Re: How to Obsessively Tune WezTerm
#62I recently made a list of "features I actually use in iTerm 2", while I was looking at alternatives that were cross-platform. The extensibility that WezTerm and others (Kitty takes the cake, it seems) looks promising, but after reading the docs, I don't think any of the trendy terminal emulators can do these two specific features: 1. Custom escape sequences that trigger my own code. iTerm 2 and Kitty support this (Ki…
On two occasions, dumping a real time data stream to std out has actually been a useful debugging technique for me, your domain might be quite different from mine, but I wouldn’t discount that performance is a feature in itself.
Re: How to Obsessively Tune WezTerm
#63Earlier quoted context omitted.
I've also gone wez from iterm2, and you hit upon why. Don't ever make me click on things. I can't script => modify => export clicking on things. When you make me click on things, you've defined my interface for me, which I did not ask for. I suppose I'm a bit of an extremist, though.
Nah, I want my configurations to be deterministic. I put config in dir, launch app. App should look like config. If it doesn't it's the app's fault. There are a limited number of applications I tolerate this behaviour from, but not many.
Re: How to Obsessively Tune WezTerm
#64WezTerm is great. When I switched back to Linux from Apple there were very few things I missed. iTerm2 was one of them, but since I found WezTerm I am pretty happy. I tried to use it on Windows as well but unfortunately the Antivirus freaks out on it. When I looked into it it was because of a small utility `strip-ansi-escapes` which is so simple that even I could see that it is a false positive. I tried to report it…
I have zero problem with WezTerm on Windows.
Re: How to Obsessively Tune WezTerm
#65Earlier quoted context omitted.
I really love the following things that I can do with kitty: - Access the scrollback buffer in neovim - Access the last command output in neovim - Animated cursor trails. It sounds dumb at first but I find that when sharing my screen, the cursor trails help other people keep track of my cursor when using neovim. Here are my configs to quickly load @screen_scrollback or @last_cmd_output in neovim map kitty_mod+z launc…
Gotta give a shoutout regarding Ghostty [1]. I keep switching terminal apps; I'm on an iTerm2 kick right now… but I used Ghostty for a while and it's pretty damn cool. Anecdotally, it feels the fastest to me. Also GPU-accelerated and super configurable. It's amazing how a guy (Mitchell Hashimoto)[2] leaves the company he co-founded before it was sold to IBM. [1]: https://ghostty.org [2]: https://www.youtube.com/watch…
Re: How to Obsessively Tune WezTerm
#66Earlier quoted context omitted.
All I want is terminals to share config across MacOS, Linux and ideally Windows and have great support for SSHing into low end boxes with some minimal persistence solution like tmux on them. In an ideal world I would not have to think about mouse capture and scroll modes, they’d work seamlessly across my device and the devices I’m SSHed into. It shocked me when I got back into playing with multiple machines after ove…
+1 -- consistency is key. Wezterm runs everywhere, but lets me customise it once and keep that config uniform across all machines. I can have a single config [0], wrap that in a nix expression [1] for anywhere that runs home-manager / NixOS and then also check it out and symlink on Windows machines as my portal to WSL. As my preferences change, my tooling stays consistent and familiar everywhere it's needed. [0]: htt…
I use Ghostty, but the same thing. I have a flake based setup, which means I have the same environment and programs across all my Macs, Linux machines and WSL terminals.
Takes me about 30 minutes to spin up a new Mac laptop, with 99% of all setup done, down to system preferences.
Linux (nixOS) a little longer because for a brand new machine I may need to do a little hardware specific bootstrapping, but if I’m paving the same machine about the same.
Re: How to Obsessively Tune WezTerm
#67Could someone sell me on one of these alternative terminals (kitty, ghostty, wez, etc)? There is probably something I am missing not using GPU backed rendering, but I don’t know what I don’t know.
Low latency full screen editor is really nice if you have a reasonably fast monitor and appreciate or need a terminal based editor.
Re: How to Obsessively Tune WezTerm
#68Earlier quoted context omitted.
Low latency full screen editor is really nice if you have a reasonably fast monitor and appreciate or need a terminal based editor.
The low latency claim is up for debate: https://beuke.org/terminal-latency/
Re: How to Obsessively Tune WezTerm
#69I got used to it and cannot make the switch to Wezterm because everything is unreadable to me now.
Re: How to Obsessively Tune WezTerm
#70Earlier quoted context omitted.
Nah, I want my configurations to be deterministic. I put config in dir, launch app. App should look like config. If it doesn't it's the app's fault. There are a limited number of applications I tolerate this behaviour from, but not many.
Almost entirely with you on that, actually. But OS and other environment differences frequently demand some sort of tweaking, which I absolutely do not want to do by hand if I've done it before.
But it's always better when the application itself is cross platform and uses just a single config file.
(Just setting all of the knobs on macOS is a massive hassle and only part of them can be automated in a deterministic way...)