Hacker News new | ask | show | jobs
by skrtskrt 573 days ago
For those that have to bounce between Mac and Linux for work/personal reasons, I cannot recommend Kitty terminal enough.

The main thing that's a big of a pain is you'll probably want to set up a scrollback pager (I use neovim as mine but vim works too) so you easily search the terminal output and copy/paste from it.

I use

# https://github.com/kovidgoyal/kitty/issues/719#issuecomment-...

scrollback_pager nvim -u ~/.config/kitty/kitty-scrollback-pager.vimrc -c "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer -"

and the scrollback pager vimrc:

``` set nonumber nolist showtabline=0 foldcolumn=0" set clipboard+=unnamedplus autocmd TermOpen * normal G map # ^ map q :qa!<CR> "silent write! /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer - ```

2 comments

I believe wezterm has that feature already. (Like there anything it doesn't have. :) )
Interesting, I'll have to check it out.

I looked at alacritty but I really like using terminal tabs and the alacritty dev is really really against them and I found the dev's attitude to be more than a bit abrasive.

Not that Kovid (kitty's dev) does not come off the same way sometimes, but I tend to agree with Kovid a lot more.

Do check out wezterm. I didn't want to go into comparing developers but wez the main developer is a huge reason I prefer wezterm. They have tabs, panes, sessions, a mux implementation among many many other features.
Update: I am already switched. Didn't get anything done at work since I already went down the customization rabbit hole, but it's nice.
Awesome! There are a bunch of user shared customizations in their github discussions area.
Renamable tabs?
https://wezfurlong.org/wezterm/config/lua/keyassignment/Prom...

I was looking for a way to get a user prompt within wez and came across this page which has an example for what you asked for "Example of interactively renaming the current tab".

Wezterm is also pretty good. It’s by far my favorite “new” terminal app I’ve tried.
I really wanted to like wezterm, but on my system it bitches about fonts a lot, and doesn't seem to execute shell rc files properly.