Remix.run Logo
skrtskrt 7 months 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 - ```

dizhn 7 months ago | parent | next [-]

I believe wezterm has that feature already. (Like there anything it doesn't have. :) )

skrtskrt 7 months ago | parent | next [-]

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.

dizhn 7 months ago | parent [-]

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.

skrtskrt 7 months ago | parent [-]

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.

dizhn 7 months ago | parent [-]

Awesome! There are a bunch of user shared customizations in their github discussions area.

inbetween 7 months ago | parent | prev [-]

Renamable tabs?

dizhn 7 months ago | parent | next [-]

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".

dizhn 7 months ago | parent | prev [-]

https://wezfurlong.org/wezterm/cli/cli/set-tab-title.html

Does this help at all?

landr0id 7 months ago | parent | prev [-]

Wezterm is also pretty good. It’s by far my favorite “new” terminal app I’ve tried.

ruthmarx 7 months ago | parent [-]

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.