The One Eyed Fighting Kirby: A Fun Vim Substitution Trick

The One Eyed Fighting Kirby is basically a Vim substitution command that uses capture groups to transform text. The name comes from the way the regex capture group looks like a one-eyed Kirby (you know, the pink puffball from Nintendo games) when written in Vim. It’s a fun name for a powerful regex capture group technique that can save you tons of time when editing text. Here’s the basic syntax: ...

June 6, 2025 · 1 min · Elvin Guti

Navigating Kitty Terminal Scrollback with Vim

Terminal scrollback history can be difficult to navigate with standard mouse selection, especially for complex outputs or when you need to select specific portions of text. By combining Kitty terminal’s pipe capabilities with Vim’s powerful navigation, you can effortlessly browse, search, and copy content from your terminal history. Prerequisites Before getting started, make sure you have the following installed: Kitty Terminal: A fast, feature-rich, GPU-based terminal emulator Installation: sudo pacman -S kitty (Arch Linux) Other distros: https://sw.kovidgoyal.net/kitty/binary/ Vim: The ubiquitous text editor Installation: sudo pacman -S vim (Arch Linux) Most Linux distributions come with Vim pre-installed or easily available in their package repositories You’ll also need basic familiarity with Vim navigation commands for the best experience, though even Vim beginners can benefit from this setup. ...

May 13, 2025 · 3 min · Elvin Guti