Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 launch --stdin-source=@screen_scrollback --type=overlay /bin/zsh -c "nvim +$ +'nnoremap q ZQ'"

map kitty_mod+v launch --stdin-source=@last_cmd_output --type=overlay /bin/zsh -c "nvim +$ +'nnoremap q ZQ'"



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?v=l_qY2p0OH9A


Ghostty has nicer UX but there's certain features that Kitty has that Ghostty doesn't that I really like to use.


Can ghostty pipe the scrollback buffer to nvim?


You can get cursor trail on any terminal these days...


Can you access the scrollback buffer in nvim?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: